Print this page
2915 DTrace in a zone should see "cpu", "curpsinfo", et al
2916 DTrace in a zone should be able to access fds[]
2917 DTrace in a zone should have limited provider access
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Adam Leventhal <ahl@delphix.com>

@@ -535,10 +535,15 @@
         char            *zone_fs_allowed;
         rctl_qty_t      zone_nprocs;    /* number of processes in the zone */
         rctl_qty_t      zone_nprocs_ctl;        /* current limit protected by */
                                                 /* zone_rctls->rcs_lock */
         kstat_t         *zone_nprocs_kstat;
+
+        /*
+         * DTrace-private per-zone state
+         */
+        int             zone_dtrace_getf;       /* # of unprivileged getf()s */
 } zone_t;
 
 /*
  * Special value of zone_psetid to indicate that pools are disabled.
  */