Home
last modified time | relevance | path

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

/NextBSD/sys/security/mac/
HDmac_syscalls.c171 if (!(mac_labeled & MPC_OBJECT_CRED)) in sys___mac_set_proc()
260 if (!(mac_labeled & MPC_OBJECT_VNODE)) { in sys___mac_get_fd()
275 if (!(mac_labeled & MPC_OBJECT_PIPE)) { in sys___mac_get_fd()
290 if (!(mac_labeled & MPC_OBJECT_SOCKET)) { in sys___mac_get_fd()
326 if (!(mac_labeled & MPC_OBJECT_VNODE)) in sys___mac_get_file()
377 if (!(mac_labeled & MPC_OBJECT_VNODE)) in sys___mac_get_link()
455 if (!(mac_labeled & MPC_OBJECT_VNODE)) { in sys___mac_set_fd()
479 if (!(mac_labeled & MPC_OBJECT_PIPE)) { in sys___mac_set_fd()
496 if (!(mac_labeled & MPC_OBJECT_SOCKET)) { in sys___mac_set_fd()
530 if (!(mac_labeled & MPC_OBJECT_VNODE)) in sys___mac_set_file()
[all …]
HDmac_framework.c152 uint64_t mac_labeled; variable
153 SYSCTL_UQUAD(_security_mac, OID_AUTO, labeled, CTLFLAG_RD, &mac_labeled, 0,
363 mac_labeled = 0; in mac_policy_update()
366 mac_labeled |= mac_policy_getlabeled(mpc); in mac_policy_update()
370 mac_labeled |= mac_policy_getlabeled(mpc); in mac_policy_update()
HDmac_net.c120 if (mac_labeled & MPC_OBJECT_BPFDESC) in mac_bpfdesc_init()
140 if (mac_labeled & MPC_OBJECT_IFNET) in mac_ifnet_init()
174 if (mac_labeled & MPC_OBJECT_MBUF) { in mac_mbuf_init()
406 if (!(mac_labeled & MPC_OBJECT_IFNET)) in mac_ifnet_ioctl_get()
449 if (!(mac_labeled & MPC_OBJECT_IFNET)) in mac_ifnet_ioctl_set()
HDmac_process.c104 if (mac_labeled & MPC_OBJECT_PROC) in mac_proc_init()
146 if (!(mac_labeled & MPC_OBJECT_CRED)) in mac_execve_enter()
189 if (mac_labeled & MPC_OBJECT_VNODE) { in mac_execve_interpreter_enter()
HDmac_socket.c150 if (mac_labeled & MPC_OBJECT_SOCKET) { in mac_socket_init()
532 if (!(mac_labeled & MPC_OBJECT_SOCKET)) in mac_setsockopt_label()
565 if (!(mac_labeled & MPC_OBJECT_SOCKET)) in mac_getsockopt_label()
604 if (!(mac_labeled & MPC_OBJECT_SOCKET)) in mac_getsockopt_peerlabel()
HDmac_inet.c102 if (mac_labeled & MPC_OBJECT_INPCB) { in mac_inpcb_init()
137 if (mac_labeled & MPC_OBJECT_IPQ) { in mac_ipq_init()
460 if (mac_labeled & MPC_OBJECT_SYNCACHE) { in mac_syncache_init()
HDmac_sysv_msg.c79 if (mac_labeled & MPC_OBJECT_SYSVMSG) in mac_sysvmsg_init()
99 if (mac_labeled & MPC_OBJECT_SYSVMSQ) in mac_sysvmsq_init()
HDmac_sysv_sem.c78 if (mac_labeled & MPC_OBJECT_SYSVSEM) in mac_sysvsem_init()
HDmac_sysv_shm.c78 if (mac_labeled & MPC_OBJECT_SYSVSHM) in mac_sysvshm_init()
HDmac_inet6.c89 if (mac_labeled & MPC_OBJECT_IP6Q) { in mac_ip6q_init()
HDmac_posix_sem.c72 if (mac_labeled & MPC_OBJECT_POSIXSEM) in mac_posixsem_init()
HDmac_pipe.c76 if (mac_labeled & MPC_OBJECT_PIPE) in mac_pipe_init()
HDmac_posix_shm.c71 if (mac_labeled & MPC_OBJECT_POSIXSHM) in mac_posixshm_init()
HDmac_vfs.c102 if (mac_labeled & MPC_OBJECT_DEVFS) in mac_devfs_init()
122 if (mac_labeled & MPC_OBJECT_MOUNT) in mac_mount_init()
142 if (mac_labeled & MPC_OBJECT_VNODE) in mac_vnode_init()
HDmac_cred.c92 if (mac_labeled & MPC_OBJECT_CRED) in mac_cred_init()
HDmac_internal.h193 extern uint64_t mac_labeled;