Home
last modified time | relevance | path

Searched refs:CR_IPRIV (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dpriv.c617 if (!priv_issubset(&CR_IPRIV(tcr), eset) || in priv_proc_cred_perm()
696 priv_intersect(&CR_IPRIV(cr), &CR_EPRIV(cr)); in priv_adjust_PA()
697 priv_intersect(&CR_IPRIV(cr), &CR_PPRIV(cr)); in priv_adjust_PA()
735 CR_EPRIV(cr) = CR_IPRIV(cr); in priv_reset_PA()
743 CR_EPRIV(cr) = CR_IPRIV(cr); in priv_reset_PA()
H A Dexec.c642 &CR_IPRIV(cred)); in gexec()
645 priv_intersect(&CR_LPRIV(cred), &CR_IPRIV(cred)); in gexec()
646 CR_EPRIV(cred) = CR_PPRIV(cred) = CR_IPRIV(cred); in gexec()
658 priv_intersect(&CR_LPRIV(cred), &CR_IPRIV(cred)); in gexec()
659 CR_EPRIV(cred) = CR_PPRIV(cred) = CR_IPRIV(cred); in gexec()
809 !PRIV_ISASSERT(&CR_IPRIV(newcred), in gexec()
1070 if (!priv_isequalset(&CR_EPRIV(cr), &CR_IPRIV(cr)) || in execsetid()
1071 !priv_issubset(&CR_IPRIV(cr), &CR_LPRIV(cr)) || in execsetid()
1072 !priv_isequalset(&CR_PPRIV(cr), &CR_IPRIV(cr))) in execsetid()
1076 if (!priv_issubset(&CR_IPRIV(cr), &CR_PPRIV(cr))) in execsetid()
H A Dcred.c216 CR_IPRIV(kcred) = *priv_basic; in cred_init()
220 priv_addset(&CR_IPRIV(kcred), PRIV_FILE_CHOWN_SELF); in cred_init()
224 priv_delset(&CR_IPRIV(kcred), PRIV_FILE_LINK_ANY); in cred_init()
226 CR_EPRIV(kcred) = CR_PPRIV(kcred) = CR_IPRIV(kcred); in cred_init()
1407 CR_EPRIV(cr) = CR_PPRIV(cr) = CR_IPRIV(cr) = CR_LPRIV(cr); in crset_zone_privall()
1410 priv_intersect(zone->zone_privset, &CR_IPRIV(cr)); in crset_zone_privall()
H A Dklpd.c958 priv_union(iset, &CR_IPRIV(ncr)); in pfexec_call()
H A Dzone.c4430 priv_intersect(zone->zone_privset, &CR_IPRIV(zone->zone_kcred)); in zone_create()
6052 priv_intersect(zone->zone_privset, &CR_IPRIV(newcr)); in zone_enter()
/titanic_41/usr/src/uts/common/sys/
H A Dpriv_impl.h64 #define CR_IPRIV(c) (CR_PRIVS(c)->crprivs[PRIV_INHERITABLE]) macro
/titanic_41/usr/src/uts/common/syscall/
H A Dppriv.c172 donocd = !priv_issubset(&diff, &CR_IPRIV(cr)); in setppriv()
/titanic_41/usr/src/uts/common/c2/
H A Daudit.c1227 priv_set_t pset = CR_IPRIV(cr); in audit_exec()
1245 priv_intersect(&CR_IPRIV(pfcred), &pset); in audit_exec()