Print this page
12046 Provide /proc/<PID>/fdinfo/

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c
          +++ new/usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c
↓ open down ↓ 352 lines elided ↑ open up ↑
 353  353          { 0,    1285,   0,      0 },            /* sizeof (struct utsname) */
 354  354          { 0,    1,      257,    0 },            /* sysname[] */
 355  355          { 257,  1,      257,    0 },            /* nodename[] */
 356  356          { 514,  1,      257,    0 },            /* release[] */
 357  357          { 771,  1,      257,    0 },            /* version[] */
 358  358          { 1028, 1,      257,    0 },            /* machine[] */
 359  359  };
 360  360  
 361  361  
 362  362  static const sl_prfdinfo_layout_t prfdinfo_layout = {
 363      -        { 0,    1088,   0,      0 },            /* sizeof (prfdinfo_t) */
      363 +        { 0,    1088,   0,      0 },            /* sizeof (prfdinfov1_t) */
 364  364          { 0,    4,      0,      0 },            /* pr_fd */
 365  365          { 4,    4,      0,      0 },            /* pr_mode */
 366  366          { 8,    4,      0,      0 },            /* pr_uid */
 367  367          { 12,   4,      0,      0 },            /* pr_gid */
 368  368          { 16,   4,      0,      0 },            /* pr_major */
 369  369          { 20,   4,      0,      0 },            /* pr_minor */
 370  370          { 24,   4,      0,      0 },            /* pr_rmajor */
 371  371          { 28,   4,      0,      0 },            /* pr_rminor */
 372  372          { 32,   8,      0,      0 },            /* pr_ino */
 373  373          { 40,   8,      0,      0 },            /* pr_offset */
↓ open down ↓ 57 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX