Lines Matching refs:EACCES
523 return (EACCES); in secpolicy_require_set()
542 return (EACCES); in secpolicy_require_set()
552 return (EACCES); in secpolicy_require_set()
641 return (priv_policy_va(cr, priv, B_FALSE, EACCES, reason, in secpolicy_net_privaddr()
651 return (PRIV_POLICY(cr, PRIV_NET_BINDMLP, B_FALSE, EACCES, NULL)); in secpolicy_net_bindmlp()
661 return (PRIV_POLICY(cr, PRIV_NET_MAC_AWARE, B_FALSE, EACCES, NULL)); in secpolicy_net_mac_aware()
670 return (PRIV_POLICY(cr, PRIV_NET_MAC_IMPLICIT, B_FALSE, EACCES, NULL)); in secpolicy_net_mac_implicit()
748 return (EACCES); in secpolicy_fs_common()
964 EACCES, NULL, KLPDARG_VNODE, vp, (char *)NULL, in secpolicy_vnode_access()
966 return (EACCES); in secpolicy_vnode_access()
976 if (priv_policy_va(cr, PRIV_FILE_DAC_WRITE, allzone, EACCES, in secpolicy_vnode_access()
979 return (EACCES); in secpolicy_vnode_access()
990 return (priv_policy_va(cr, p, B_FALSE, EACCES, NULL, in secpolicy_vnode_access()
1009 priv_policy_va(cr, PRIV_FILE_READ, B_FALSE, EACCES, NULL, in secpolicy_vnode_access2()
1011 return (EACCES); in secpolicy_vnode_access2()
1016 priv_policy_va(cr, PRIV_FILE_WRITE, B_FALSE, EACCES, NULL, in secpolicy_vnode_access2()
1018 return (EACCES); in secpolicy_vnode_access2()
1027 EACCES, NULL, KLPDARG_VNODE, vp, (char *)NULL, in secpolicy_vnode_access2()
1029 return (EACCES); in secpolicy_vnode_access2()
1039 if (priv_policy_va(cr, PRIV_FILE_DAC_WRITE, allzone, EACCES, in secpolicy_vnode_access2()
1042 return (EACCES); in secpolicy_vnode_access2()
1053 return (priv_policy_va(cr, p, B_FALSE, EACCES, NULL, in secpolicy_vnode_access2()
1286 return (PRIV_POLICY(cr, PRIV_FILE_OWNER, B_FALSE, EACCES, in secpolicy_vnode_remove()
1547 if (error == EACCES && in secpolicy_vnode_setattr()
1577 return (PRIV_POLICY(cred, PRIV_ALL, B_FALSE, EACCES, in secpolicy_pcfs_modify_bootpartition()
1612 PRIV_POLICY(cr, PRIV_IPC_DAC_READ, allzone, EACCES, NULL) != 0) in secpolicy_ipc_access()
1613 return (EACCES); in secpolicy_ipc_access()
1619 return (PRIV_POLICY(cr, PRIV_IPC_DAC_WRITE, allzone, EACCES, in secpolicy_ipc_access()
1633 PRIV_POLICY(cr, PRIV_IPC_DAC_READ, allzone, EACCES, NULL) != 0) in secpolicy_rsm_access()
1634 return (EACCES); in secpolicy_rsm_access()
1640 return (PRIV_POLICY(cr, PRIV_IPC_DAC_WRITE, allzone, EACCES, in secpolicy_rsm_access()
1753 return (PRIV_POLICY(scr, PRIV_PROC_OWNER, B_FALSE, EACCES, NULL)); in secpolicy_proc_access()
1978 return (PRIV_POLICY(cr, PRIV_NET_RAWACCESS, B_FALSE, EACCES, NULL)); in secpolicy_net_rawaccess()
1984 return (PRIV_POLICY(cr, PRIV_NET_OBSERVABILITY, B_FALSE, EACCES, NULL)); in secpolicy_net_observability()
1993 return (PRIV_POLICY(cr, PRIV_NET_ICMPACCESS, B_FALSE, EACCES, NULL)); in secpolicy_net_icmpaccess()
2220 return (PRIV_POLICY(cr, PRIV_NET_ACCESS, B_FALSE, EACCES, NULL)); in secpolicy_basic_net_access()
2229 return (priv_policy_va(cr, PRIV_FILE_READ, B_FALSE, EACCES, NULL, in secpolicy_basic_file_read()
2239 return (priv_policy_va(cr, PRIV_FILE_WRITE, B_FALSE, EACCES, NULL, in secpolicy_basic_file_write()
2378 return (PRIV_POLICY(cr, PRIV_CPC_CPU, B_FALSE, EACCES, NULL)); in secpolicy_cpc_cpu()