Searched refs:MAC_POLICY_CHECK (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/security/mac/ |
H A D | mac_vfs.c | 252 MAC_POLICY_CHECK(vnode_associate_extattr, mp, mp->mnt_label, vp, in mac_vnode_associate_extattr() 294 MAC_POLICY_CHECK(vnode_create_extattr, cred, mp, mp->mnt_label, dvp, in mac_vnode_create_extattr() 327 MAC_POLICY_CHECK(vnode_setlabel_extattr, cred, vp, vp->v_label, in mac_vnode_setlabel_extattr() 379 MAC_POLICY_CHECK(vnode_check_access, cred, vp, vp->v_label, accmode); in mac_vnode_check_access_impl() 395 MAC_POLICY_CHECK(vnode_check_chdir, cred, dvp, dvp->v_label); in mac_vnode_check_chdir() 411 MAC_POLICY_CHECK(vnode_check_chroot, cred, dvp, dvp->v_label); in mac_vnode_check_chroot() 428 MAC_POLICY_CHECK(vnode_check_create, cred, dvp, dvp->v_label, cnp, in mac_vnode_check_create() 446 MAC_POLICY_CHECK(vnode_check_deleteacl, cred, vp, vp->v_label, type); in mac_vnode_check_deleteacl() 463 MAC_POLICY_CHECK(vnode_check_deleteextattr, cred, vp, vp->v_label, in mac_vnode_check_deleteextattr() 482 MAC_POLICY_CHECK(vnode_check_exec, cred, vp, vp->v_label, imgp, in mac_vnode_check_exec() [all …]
|
H A D | mac_system.c | 133 MAC_POLICY_CHECK(kld_check_load, cred, vp, vp->v_label); in mac_kld_check_load() 164 MAC_POLICY_CHECK(system_check_acct, cred, vp, in mac_system_check_acct() 194 MAC_POLICY_CHECK(system_check_swapon, cred, vp, vp->v_label); in mac_system_check_swapon() 210 MAC_POLICY_CHECK(system_check_swapoff, cred, vp, vp->v_label); in mac_system_check_swapoff()
|
H A D | mac_inet6.c | 72 MAC_POLICY_CHECK(ip6q_init_label, label, flag); in mac_ip6q_label_alloc() 181 MAC_POLICY_CHECK(ip6_check_jail, cred, ia6, ifp); in mac_inet6_check_add_addr()
|
H A D | mac_inet.c | 85 MAC_POLICY_CHECK(inpcb_init_label, label, flag); in mac_inpcb_label_alloc() 116 MAC_POLICY_CHECK(ip4_check_jail, cred, ia, ifp); in mac_inet_check_add_addr() 131 MAC_POLICY_CHECK(ipq_init_label, label, flag); in mac_ipq_label_alloc()
|
H A D | mac_internal.h | 279 #define MAC_POLICY_CHECK(check, args...) do { \ macro 439 MAC_POLICY_CHECK(type ## _externalize_label, label, \ 475 MAC_POLICY_CHECK(type ## _internalize_label, label, \
|
H A D | mac_audit.c | 123 MAC_POLICY_CHECK(system_check_auditctl, cred, vp, vl); in mac_system_check_auditctl()
|
H A D | mac_socket.c | 111 MAC_POLICY_CHECK(socket_init_label, label, flag); in mac_socket_label_alloc() 133 MAC_POLICY_CHECK(socketpeer_init_label, label, flag); in mac_socketpeer_label_alloc()
|
H A D | mac_net.c | 159 MAC_POLICY_CHECK(mbuf_init_label, label, flag); in mac_mbuf_tag_init()
|