Home
last modified time | relevance | path

Searched refs:mac_labeled (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/security/mac/
H A Dmac_syscalls.c241 if (!(mac_labeled & MPC_OBJECT_CRED)) in mac_set_proc_prepare()
340 if ((mac_labeled & MPC_OBJECT_PRISON) != 0) in mac_get_prison()
420 if (!(mac_labeled & MPC_OBJECT_PRISON)) { in mac_set_prison_prepare()
524 if (!(mac_labeled & MPC_OBJECT_VNODE)) { in sys___mac_get_fd()
539 if (!(mac_labeled & MPC_OBJECT_PIPE)) { in sys___mac_get_fd()
554 if (!(mac_labeled & MPC_OBJECT_SOCKET)) { in sys___mac_get_fd()
569 if (!(mac_labeled & MPC_OBJECT_PRISON)) { in sys___mac_get_fd()
624 if (!(mac_labeled & MPC_OBJECT_VNODE)) in kern___mac_get_path()
681 if (!(mac_labeled & MPC_OBJECT_VNODE)) { in sys___mac_set_fd()
705 if (!(mac_labeled & MPC_OBJECT_PIPE)) { in sys___mac_set_fd()
[all …]
H A Dmac_net.c123 if (mac_labeled & MPC_OBJECT_BPFDESC) in mac_bpfdesc_init()
143 if (mac_labeled & MPC_OBJECT_IFNET) in mac_ifnet_init()
177 if (mac_labeled & MPC_OBJECT_MBUF) { in mac_mbuf_init()
405 if (!(mac_labeled & MPC_OBJECT_IFNET)) in mac_ifnet_ioctl_get()
448 if (!(mac_labeled & MPC_OBJECT_IFNET)) in mac_ifnet_ioctl_set()
H A Dmac_framework.c190 uint64_t mac_labeled; variable
191 SYSCTL_UQUAD(_security_mac, OID_AUTO, labeled, CTLFLAG_RD, &mac_labeled, 0,
401 mac_labeled = 0; in mac_policy_update()
404 mac_labeled |= mac_policy_getlabeled(mpc); in mac_policy_update()
408 mac_labeled |= mac_policy_getlabeled(mpc); in mac_policy_update()
H A Dmac_process.c102 if (mac_labeled & MPC_OBJECT_PROC) in mac_proc_init()
144 if (!(mac_labeled & MPC_OBJECT_CRED)) in mac_execve_enter()
187 if (mac_labeled & MPC_OBJECT_VNODE) { in mac_execve_interpreter_enter()
H A Dmac_socket.c148 if (mac_labeled & MPC_OBJECT_SOCKET) { in mac_socket_init()
533 if (!(mac_labeled & MPC_OBJECT_SOCKET)) in mac_setsockopt_label()
567 if (!(mac_labeled & MPC_OBJECT_SOCKET)) in mac_getsockopt_label()
606 if (!(mac_labeled & MPC_OBJECT_SOCKET)) in mac_getsockopt_peerlabel()
H A Dmac_sysv_msg.c77 if (mac_labeled & MPC_OBJECT_SYSVMSG) in mac_sysvmsg_init()
97 if (mac_labeled & MPC_OBJECT_SYSVMSQ) in mac_sysvmsq_init()
H A Dmac_inet.c100 if (mac_labeled & MPC_OBJECT_INPCB) { in mac_inpcb_init()
146 if (mac_labeled & MPC_OBJECT_IPQ) { in mac_ipq_init()
471 if (mac_labeled & MPC_OBJECT_SYNCACHE) { in mac_syncache_init()
H A Dmac_sysv_sem.c76 if (mac_labeled & MPC_OBJECT_SYSVSEM) in mac_sysvsem_init()
H A Dmac_sysv_shm.c76 if (mac_labeled & MPC_OBJECT_SYSVSHM) in mac_sysvshm_init()
H A Dmac_inet6.c87 if (mac_labeled & MPC_OBJECT_IP6Q) { in mac_ip6q_init()
H A Dmac_posix_sem.c70 if (mac_labeled & MPC_OBJECT_POSIXSEM) in mac_posixsem_init()
H A Dmac_pipe.c74 if (mac_labeled & MPC_OBJECT_PIPE) in mac_pipe_init()
H A Dmac_posix_shm.c69 if (mac_labeled & MPC_OBJECT_POSIXSHM) in mac_posixshm_init()
H A Dmac_internal.h196 extern uint64_t mac_labeled;
222 if (mac_labeled & MPC_OBJECT_IFNET) { \
H A Dmac_vfs.c100 if (mac_labeled & MPC_OBJECT_DEVFS) in mac_devfs_init()
120 if (mac_labeled & MPC_OBJECT_MOUNT) in mac_mount_init()
190 if (mac_labeled & MPC_OBJECT_VNODE) in mac_vnode_init()
H A Dmac_prison.c75 if ((mac_labeled & MPC_OBJECT_PRISON) == 0) { in mac_prison_init()
H A Dmac_cred.c90 if (mac_labeled & MPC_OBJECT_CRED) in mac_cred_init()