Searched refs:CR_EPRIV (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | priv.c | 453 return (priv_issubset(&CR_EPRIV(cr), &CR_PPRIV(cr))); in priv_valid() 646 priv_union(&CR_LPRIV(cr), &CR_EPRIV(cr)); in priv_set_PA() 663 (cr->cr_uid != 0 || priv_isequalset(&CR_EPRIV(cr), &CR_LPRIV(cr)))); in priv_can_clear_PA() 695 priv_intersect(&CR_IPRIV(cr), &CR_EPRIV(cr)); in priv_adjust_PA() 734 CR_EPRIV(cr) = CR_IPRIV(cr); in priv_reset_PA() 735 priv_intersect(&CR_LPRIV(cr), &CR_EPRIV(cr)); in priv_reset_PA() 736 CR_PPRIV(cr) = CR_EPRIV(cr); in priv_reset_PA() 739 CR_EPRIV(cr) = CR_PPRIV(cr); in priv_reset_PA() 742 CR_EPRIV(cr) = CR_IPRIV(cr); in priv_reset_PA() 743 priv_intersect(&CR_LPRIV(cr), &CR_EPRIV(cr)); in priv_reset_PA()
|
H A D | cred.c | 229 CR_EPRIV(kcred) = CR_PPRIV(kcred) = CR_IPRIV(kcred); in cred_init() 1391 priv_addset(&CR_EPRIV(cr), priv); in crsetpriv() 1410 CR_EPRIV(cr) = CR_PPRIV(cr) = CR_IPRIV(cr) = CR_LPRIV(cr); in crset_zone_privall() 1412 priv_intersect(zone->zone_privset, &CR_EPRIV(cr)); in crset_zone_privall()
|
H A D | exec.c | 749 CR_EPRIV(cred) = CR_PPRIV(cred) = CR_IPRIV(cred); in gexec() 752 priv_union(&fset, &CR_EPRIV(cred)); in gexec() 762 CR_EPRIV(cred) = CR_PPRIV(cred) = CR_IPRIV(cred); in gexec() 1183 if (!priv_isequalset(&CR_EPRIV(cr), &CR_IPRIV(cr)) || in execsetid()
|
H A D | zone.c | 4643 priv_intersect(zone->zone_privset, &CR_EPRIV(zone->zone_kcred)); in zone_create() 6294 priv_intersect(zone->zone_privset, &CR_EPRIV(newcr)); in zone_enter()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | priv_impl.h | 61 #define CR_EPRIV(c) (CR_PRIVS(c)->crprivs[PRIV_EFFECTIVE]) macro 75 #define CR_OEPRIV(c) (*(PRIV_EISAWARE(c) ? &CR_EPRIV(c) : &CR_LPRIV(c)))
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | ppriv.c | 155 priv_intersect(&pset, &CR_EPRIV(cr)); in setppriv()
|