Home
last modified time | relevance | path

Searched refs:MAC_MLS_FLAGS_BOTH (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/security/mac_mls/
H A Dmac_mls.h47 #define MAC_MLS_FLAGS_BOTH (MAC_MLS_FLAG_EFFECTIVE | MAC_MLS_FLAG_RANGE) macro
H A Dmac_mls.c299 KASSERT((mm->mm_flags & MAC_MLS_FLAGS_BOTH) == MAC_MLS_FLAGS_BOTH, in mls_subject_privileged()
802 error = mls_atmostflags(new, MAC_MLS_FLAGS_BOTH); in mls_cred_check_relabel()
809 if (new->mm_flags & MAC_MLS_FLAGS_BOTH) { in mls_cred_check_relabel()
815 if ((new->mm_flags & MAC_MLS_FLAGS_BOTH) == in mls_cred_check_relabel()
816 MAC_MLS_FLAGS_BOTH && !mls_effective_in_range(new, new)) in mls_cred_check_relabel()
992 error = mls_atmostflags(new, MAC_MLS_FLAGS_BOTH); in mls_ifnet_check_relabel()
2482 if ((mm_temp.mm_flags & MAC_MLS_FLAGS_BOTH) != in mls_vnode_associate_extattr()