Searched refs:PRIV_PFEXEC (Results 1 – 11 of 11) sorted by relevance
104 oflag = getpflags(PRIV_PFEXEC); in main()105 if (setpflags(PRIV_PFEXEC, 1) != 0) { in main()169 (void) setpflags(PRIV_PFEXEC, oflag); in main()
139 #define PRIV_PFEXEC 0x0100 /* As if pfexec'ed */ macro143 PRIV_XPOLICY | PRIV_AWARE_RESET | PRIV_PFEXEC)
529 fl |= PRIV_PFEXEC; in privupdate()553 if (setpflags(PRIV_PFEXEC, 1) != 0) in privupdate_self()597 (void) setpflags(PRIV_PFEXEC, 1); in privupdate_self()655 { PRIV_PFEXEC, "PRIV_PFEXEC" },
255 flag != PRIV_AWARE_RESET && flag != PRIV_PFEXEC)) { in setpflags()362 flag != PRIV_XPOLICY && flag != PRIV_PFEXEC && in getpflags()
138 CR_FLAGS(newcr) &= ~PRIV_PFEXEC; in setuid()354 CR_FLAGS(newcr) &= ~PRIV_PFEXEC; in setreuid()
459 getpflags(PRIV_PFEXEC, CRED()) != 0) { in auditme()
657 (void) setpflags(PRIV_PFEXEC, 0); in pam_sm_setcred()
950 CR_FLAGS(ncr) &= ~PRIV_PFEXEC; in pfexec_call()
264 if ((CR_FLAGS(p->p_cred) & PRIV_PFEXEC) != 0) { in exec_common()
349 if (CR_FLAGS(cr) & PRIV_PFEXEC) in priv_policy_override_set()
2370 case PRIV_PFEXEC: s = "PRIV_PFEXEC"; break; in prt_pfl()