Home
last modified time | relevance | path

Searched refs:CR_EPRIV (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dpriv.c453 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 Dcred.c229 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 Dexec.c749 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 Dzone.c4643 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 Dpriv_impl.h61 #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 Dppriv.c155 priv_intersect(&pset, &CR_EPRIV(cr)); in setppriv()