Searched refs:CR_IPRIV (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | priv.c | 616 if (!priv_issubset(&CR_IPRIV(tcr), eset) || in priv_proc_cred_perm() 695 priv_intersect(&CR_IPRIV(cr), &CR_EPRIV(cr)); in priv_adjust_PA() 696 priv_intersect(&CR_IPRIV(cr), &CR_PPRIV(cr)); in priv_adjust_PA() 734 CR_EPRIV(cr) = CR_IPRIV(cr); in priv_reset_PA() 742 CR_EPRIV(cr) = CR_IPRIV(cr); in priv_reset_PA()
|
H A D | cred.c | 217 CR_IPRIV(kcred) = *priv_basic; in cred_init() 219 priv_addset(&CR_IPRIV(kcred), PRIV_PROC_SECFLAGS); in cred_init() 223 priv_addset(&CR_IPRIV(kcred), PRIV_FILE_CHOWN_SELF); in cred_init() 227 priv_delset(&CR_IPRIV(kcred), PRIV_FILE_LINK_ANY); in cred_init() 229 CR_EPRIV(kcred) = CR_PPRIV(kcred) = CR_IPRIV(kcred); in cred_init() 1410 CR_EPRIV(cr) = CR_PPRIV(cr) = CR_IPRIV(cr) = CR_LPRIV(cr); in crset_zone_privall() 1413 priv_intersect(zone->zone_privset, &CR_IPRIV(cr)); in crset_zone_privall()
|
H A D | exec.c | 745 &CR_IPRIV(cred)); in gexec() 748 priv_intersect(&CR_LPRIV(cred), &CR_IPRIV(cred)); in gexec() 749 CR_EPRIV(cred) = CR_PPRIV(cred) = CR_IPRIV(cred); in gexec() 761 priv_intersect(&CR_LPRIV(cred), &CR_IPRIV(cred)); in gexec() 762 CR_EPRIV(cred) = CR_PPRIV(cred) = CR_IPRIV(cred); in gexec() 916 !PRIV_ISASSERT(&CR_IPRIV(newcred), in gexec() 1183 if (!priv_isequalset(&CR_EPRIV(cr), &CR_IPRIV(cr)) || in execsetid() 1184 !priv_issubset(&CR_IPRIV(cr), &CR_LPRIV(cr)) || in execsetid() 1185 !priv_isequalset(&CR_PPRIV(cr), &CR_IPRIV(cr))) in execsetid() 1189 if (!priv_issubset(&CR_IPRIV(cr), &CR_PPRIV(cr))) in execsetid()
|
H A D | klpd.c | 968 priv_union(iset, &CR_IPRIV(ncr)); in pfexec_call()
|
H A D | zone.c | 4644 priv_intersect(zone->zone_privset, &CR_IPRIV(zone->zone_kcred)); in zone_create() 6295 priv_intersect(zone->zone_privset, &CR_IPRIV(newcr)); in zone_enter()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | priv_impl.h | 62 #define CR_IPRIV(c) (CR_PRIVS(c)->crprivs[PRIV_INHERITABLE]) macro
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | ppriv.c | 172 donocd = !priv_issubset(&diff, &CR_IPRIV(cr)); in setppriv()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.c | 1226 priv_set_t pset = CR_IPRIV(cr); in audit_exec() 1244 priv_intersect(&CR_IPRIV(pfcred), &pset); in audit_exec()
|