Home
last modified time | relevance | path

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

/freebsd/sys/security/mac_lomac/
H A Dmac_lomac.h46 #define MAC_LOMAC_FLAG_RANGE 0x00000002 /* ml_range* initialized */ macro
48 #define MAC_LOMAC_FLAGS_BOTH (MAC_LOMAC_FLAG_SINGLE | MAC_LOMAC_FLAG_RANGE)
H A Dmac_lomac.c225 KASSERT((range->ml_flags & MAC_LOMAC_FLAG_RANGE) != 0, in lomac_single_in_range()
239 KASSERT((range->ml_flags & MAC_LOMAC_FLAG_RANGE) != 0, in lomac_auxsingle_in_range()
263 (MAC_LOMAC_FLAG_SINGLE | MAC_LOMAC_FLAG_RANGE)) == 0, in lomac_subject_dominate()
305 if (ml->ml_flags & MAC_LOMAC_FLAG_RANGE) { in lomac_contains_equal()
387 if (ml->ml_flags & MAC_LOMAC_FLAG_RANGE) { in lomac_valid()
430 ml->ml_flags |= MAC_LOMAC_FLAG_RANGE; in lomac_set_range()
446 KASSERT((labelfrom->ml_flags & MAC_LOMAC_FLAG_RANGE) != 0, in lomac_copy_range()
451 labelto->ml_flags |= MAC_LOMAC_FLAG_RANGE; in lomac_copy_range()
484 if (source->ml_flags & MAC_LOMAC_FLAG_RANGE) in lomac_copy()
686 if (ml->ml_flags & MAC_LOMAC_FLAG_RANGE) { in lomac_to_string()
[all …]