Lines Matching defs:scr
1677 secpolicy_proc_owner(const cred_t *scr, const cred_t *tcr, int mode)
1681 if ((mode & VWRITE) && scr->cr_uid != 0 &&
1685 return (PRIV_POLICY(scr, PRIV_PROC_OWNER, allzone, EPERM, NULL));
1689 secpolicy_proc_access(const cred_t *scr)
1691 return (PRIV_POLICY(scr, PRIV_PROC_OWNER, B_FALSE, EACCES, NULL));
1695 secpolicy_proc_excl_open(const cred_t *scr)
1697 return (PRIV_POLICY(scr, PRIV_PROC_OWNER, B_FALSE, EBUSY, NULL));
1701 secpolicy_proc_zone(const cred_t *scr)
1703 return (PRIV_POLICY(scr, PRIV_PROC_ZONE, B_FALSE, EPERM, NULL));
1711 secpolicy_kmdb(const cred_t *scr)
1713 return (PRIV_POLICY(scr, PRIV_ALL, B_FALSE, EPERM, NULL));
1717 secpolicy_error_inject(const cred_t *scr)
1719 return (PRIV_POLICY(scr, PRIV_ALL, B_FALSE, EPERM, NULL));
2439 secpolicy_ucode_update(const cred_t *scr)
2441 return (PRIV_POLICY(scr, PRIV_ALL, B_FALSE, EPERM, NULL));