Print this page
2916 DTrace in a zone should be able to access fds[]

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/zone.h
          +++ new/usr/src/uts/common/sys/zone.h
↓ open down ↓ 526 lines elided ↑ open up ↑
 527  527          struct mntelem  *zone_mntfs_db;
 528  528          krwlock_t       zone_mntfs_db_lock;
 529  529  
 530  530          struct klpd_reg         *zone_pfexecd;
 531  531  
 532  532          char            *zone_fs_allowed;
 533  533          rctl_qty_t      zone_nprocs;    /* number of processes in the zone */
 534  534          rctl_qty_t      zone_nprocs_ctl;        /* current limit protected by */
 535  535                                                  /* zone_rctls->rcs_lock */
 536  536          kstat_t         *zone_nprocs_kstat;
      537 +
      538 +        /*
      539 +         * DTrace-private per-zone state
      540 +         */
      541 +        int             zone_dtrace_getf;       /* # of unprivileged getf()s */
 537  542  } zone_t;
 538  543  
 539  544  /*
 540  545   * Special value of zone_psetid to indicate that pools are disabled.
 541  546   */
 542  547  #define ZONE_PS_INVAL   PS_MYID
 543  548  
 544  549  
 545  550  extern zone_t zone0;
 546  551  extern zone_t *global_zone;
↓ open down ↓ 224 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX