Print this page
4839 3294 generated elfdump struct layouts by hand, shouldn't have

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/elfdump/common/struct_layout_amd64.c
          +++ new/usr/src/cmd/sgs/elfdump/common/struct_layout_amd64.c
↓ open down ↓ 363 lines elided ↑ open up ↑
 364  364          { 4,    4,      0,      0 },            /* pr_mode */
 365  365          { 8,    4,      0,      0 },            /* pr_uid */
 366  366          { 12,   4,      0,      0 },            /* pr_gid */
 367  367          { 16,   4,      0,      0 },            /* pr_major */
 368  368          { 20,   4,      0,      0 },            /* pr_minor */
 369  369          { 24,   4,      0,      0 },            /* pr_rmajor */
 370  370          { 28,   4,      0,      0 },            /* pr_rminor */
 371  371          { 32,   8,      0,      0 },            /* pr_ino */
 372  372          { 40,   8,      0,      0 },            /* pr_offset */
 373  373          { 48,   8,      0,      0 },            /* pr_size */
 374      -        { 56,   4,      0,      0 },            /* pr_filefags */
      374 +        { 56,   4,      0,      0 },            /* pr_fileflags */
 375  375          { 60,   4,      0,      0 },            /* pr_fdflags */
 376      -        { 64,   1,      1024,   0 },            /* pr_path */
      376 +        { 64,   1,      1024,   0 },            /* pr_path[] */
 377  377  };
 378  378  
 379  379  
      380 +
      381 +
 380  382  static const sl_arch_layout_t layout_amd64 = {
 381  383          &auxv_layout,
 382  384          &fltset_layout,
 383  385          &lwpsinfo_layout,
 384  386          &lwpstatus_layout,
 385  387          &prcred_layout,
 386  388          &priv_impl_info_layout,
 387  389          &prpriv_layout,
 388  390          &psinfo_layout,
 389  391          &pstatus_layout,
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX