Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/os/
H A Dpriv.c205 priv_intersect(&CR_LPRIV(oldcred), &eset); in priv_pr_spriv()
619 !priv_issubset(&CR_LPRIV(tcr), &CR_LPRIV(scr)) || in priv_proc_cred_perm()
647 priv_union(&CR_LPRIV(cr), &CR_EPRIV(cr)); in priv_set_PA()
650 priv_union(&CR_LPRIV(cr), &CR_PPRIV(cr)); in priv_set_PA()
663 priv_isequalset(&CR_PPRIV(cr), &CR_LPRIV(cr)) && in priv_can_clear_PA()
664 (cr->cr_uid != 0 || priv_isequalset(&CR_EPRIV(cr), &CR_LPRIV(cr)))); in priv_can_clear_PA()
736 priv_intersect(&CR_LPRIV(cr), &CR_EPRIV(cr)); in priv_reset_PA()
744 priv_intersect(&CR_LPRIV(cr), &CR_EPRIV(cr)); in priv_reset_PA()
H A Dklpd.c361 if (!priv_issubset(req, &CR_LPRIV(cr))) in klpd_call()
956 if (!priv_issubset(iset, &CR_LPRIV(ncr))) in pfexec_call()
965 if (!priv_issubset(lset, &CR_LPRIV(ncr))) in pfexec_call()
967 CR_LPRIV(ncr) = *lset; in pfexec_call()
1057 priv_intersect(&CR_LPRIV(zkcr), fset); in get_forced_privs()
1063 if (!priv_issubset(fset, &CR_LPRIV(cr))) { in get_forced_privs()
H A Dcred.c215 priv_fillset(&CR_LPRIV(kcred)); in cred_init()
1406 priv_fillset(&CR_LPRIV(cr)); in crset_zone_privall()
1407 CR_EPRIV(cr) = CR_PPRIV(cr) = CR_IPRIV(cr) = CR_LPRIV(cr); in crset_zone_privall()
1408 priv_intersect(zone->zone_privset, &CR_LPRIV(cr)); in crset_zone_privall()
H A Dexec.c645 priv_intersect(&CR_LPRIV(cred), &CR_IPRIV(cred)); in gexec()
658 priv_intersect(&CR_LPRIV(cred), &CR_IPRIV(cred)); in gexec()
1035 &CR_LPRIV(cr))) { in execsetid()
1071 !priv_issubset(&CR_IPRIV(cr), &CR_LPRIV(cr)) || in execsetid()
H A Dzone.c4431 priv_intersect(zone->zone_privset, &CR_LPRIV(zone->zone_kcred)); in zone_create()
6053 priv_intersect(zone->zone_privset, &CR_LPRIV(newcr)); in zone_enter()
/titanic_41/usr/src/uts/common/sys/
H A Dpriv_impl.h66 #define CR_LPRIV(c) (CR_PRIVS(c)->crprivs[PRIV_LIMIT]) macro
77 #define CR_OEPRIV(c) (*(PRIV_EISAWARE(c) ? &CR_EPRIV(c) : &CR_LPRIV(c)))
78 #define CR_OPPRIV(c) (*(PRIV_PISAWARE(c) ? &CR_PPRIV(c) : &CR_LPRIV(c)))
/titanic_41/usr/src/uts/common/syscall/
H A Dppriv.c90 !priv_issubset(&pset, &CR_LPRIV(pcr))) { in setppriv()
100 !priv_issubset(&pset, &CR_LPRIV(pcr)) || in setppriv()
/titanic_41/usr/src/uts/common/c2/
H A Daudit.c1247 !priv_isequalset(&CR_LPRIV(pfcred), &CR_LPRIV(cr))) { in audit_exec()
1252 &CR_LPRIV(pfcred), AUT_PRIV, 0)); in audit_exec()