Searched refs:CR_LPRIV (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | priv.c | 204 priv_intersect(&CR_LPRIV(oldcred), &eset); in priv_pr_spriv() 618 !priv_issubset(&CR_LPRIV(tcr), &CR_LPRIV(scr)) || in priv_proc_cred_perm() 646 priv_union(&CR_LPRIV(cr), &CR_EPRIV(cr)); in priv_set_PA() 649 priv_union(&CR_LPRIV(cr), &CR_PPRIV(cr)); in priv_set_PA() 662 priv_isequalset(&CR_PPRIV(cr), &CR_LPRIV(cr)) && in priv_can_clear_PA() 663 (cr->cr_uid != 0 || priv_isequalset(&CR_EPRIV(cr), &CR_LPRIV(cr)))); in priv_can_clear_PA() 735 priv_intersect(&CR_LPRIV(cr), &CR_EPRIV(cr)); in priv_reset_PA() 743 priv_intersect(&CR_LPRIV(cr), &CR_EPRIV(cr)); in priv_reset_PA()
|
H A D | klpd.c | 363 if (!priv_issubset(req, &CR_LPRIV(cr))) in klpd_call() 966 if (!priv_issubset(iset, &CR_LPRIV(ncr))) in pfexec_call() 975 if (!priv_issubset(lset, &CR_LPRIV(ncr))) in pfexec_call() 977 CR_LPRIV(ncr) = *lset; in pfexec_call() 1067 priv_intersect(&CR_LPRIV(zkcr), fset); in get_forced_privs() 1073 if (!priv_issubset(fset, &CR_LPRIV(cr))) { in get_forced_privs()
|
H A D | cred.c | 216 priv_fillset(&CR_LPRIV(kcred)); in cred_init() 1409 priv_fillset(&CR_LPRIV(cr)); in crset_zone_privall() 1410 CR_EPRIV(cr) = CR_PPRIV(cr) = CR_IPRIV(cr) = CR_LPRIV(cr); in crset_zone_privall() 1411 priv_intersect(zone->zone_privset, &CR_LPRIV(cr)); in crset_zone_privall()
|
H A D | exec.c | 748 priv_intersect(&CR_LPRIV(cred), &CR_IPRIV(cred)); in gexec() 761 priv_intersect(&CR_LPRIV(cred), &CR_IPRIV(cred)); in gexec() 1148 &CR_LPRIV(cr))) { in execsetid() 1184 !priv_issubset(&CR_IPRIV(cr), &CR_LPRIV(cr)) || in execsetid()
|
H A D | zone.c | 4645 priv_intersect(zone->zone_privset, &CR_LPRIV(zone->zone_kcred)); in zone_create() 6296 priv_intersect(zone->zone_privset, &CR_LPRIV(newcr)); in zone_enter()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | priv_impl.h | 64 #define CR_LPRIV(c) (CR_PRIVS(c)->crprivs[PRIV_LIMIT]) macro 75 #define CR_OEPRIV(c) (*(PRIV_EISAWARE(c) ? &CR_EPRIV(c) : &CR_LPRIV(c))) 76 #define CR_OPPRIV(c) (*(PRIV_PISAWARE(c) ? &CR_PPRIV(c) : &CR_LPRIV(c)))
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | ppriv.c | 90 !priv_issubset(&pset, &CR_LPRIV(pcr))) { in setppriv() 100 !priv_issubset(&pset, &CR_LPRIV(pcr)) || in setppriv()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.c | 1246 !priv_isequalset(&CR_LPRIV(pfcred), &CR_LPRIV(cr))) { in audit_exec() 1251 &CR_LPRIV(pfcred), AUT_PRIV, 0)); in audit_exec()
|