Home
last modified time | relevance | path

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

/freebsd/sys/security/mac_lomac/
H A Dmac_lomac.h45 #define MAC_LOMAC_FLAG_SINGLE 0x00000001 /* ml_single initialized */ macro
48 #define MAC_LOMAC_FLAGS_BOTH (MAC_LOMAC_FLAG_SINGLE | MAC_LOMAC_FLAG_RANGE)
H A Dmac_lomac.c223 KASSERT((single->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0, in lomac_single_in_range()
251 KASSERT((a->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0, in lomac_dominate_single()
253 KASSERT((b->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0, in lomac_dominate_single()
263 (MAC_LOMAC_FLAG_SINGLE | MAC_LOMAC_FLAG_RANGE)) == 0, in lomac_subject_dominate()
265 KASSERT((b->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0, in lomac_subject_dominate()
286 KASSERT((a->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0, in lomac_equal_single()
288 KASSERT((b->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0, in lomac_equal_single()
298 if (ml->ml_flags & MAC_LOMAC_FLAG_SINGLE) in lomac_contains_equal()
345 KASSERT((ml->ml_flags & MAC_LOMAC_FLAG_SINGLE) != 0, in lomac_high_single()
355 if (ml->ml_flags & MAC_LOMAC_FLAG_SINGLE) { in lomac_valid()
[all …]