Print this page
OS-208 DTrace needs to use zone_did to match zone-limited enablings

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/cred.h
          +++ new/usr/src/uts/common/sys/cred.h
↓ open down ↓ 85 lines elided ↑ open up ↑
  86   86  extern int crcmp(const cred_t *, const cred_t *);
  87   87  extern cred_t *zone_kcred(void);
  88   88  
  89   89  extern uid_t crgetuid(const cred_t *);
  90   90  extern uid_t crgetruid(const cred_t *);
  91   91  extern uid_t crgetsuid(const cred_t *);
  92   92  extern gid_t crgetgid(const cred_t *);
  93   93  extern gid_t crgetrgid(const cred_t *);
  94   94  extern gid_t crgetsgid(const cred_t *);
  95   95  extern zoneid_t crgetzoneid(const cred_t *);
       96 +extern zoneid_t crgetzonedid(const cred_t *);
  96   97  extern projid_t crgetprojid(const cred_t *);
  97   98  
  98   99  extern cred_t *crgetmapped(const cred_t *);
  99  100  
 100  101  
 101  102  extern const struct auditinfo_addr *crgetauinfo(const cred_t *);
 102  103  extern struct auditinfo_addr *crgetauinfo_modifiable(cred_t *);
 103  104  
 104  105  extern uint_t crgetref(const cred_t *);
 105  106  
↓ open down ↓ 88 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX