Go to the documentation of this file.
14 #ifndef _SS_MLS_TYPES_H_
15 #define _SS_MLS_TYPES_H_
41 #define mls_level_incomp(l1, l2) \
42 (!mls_level_dom((l1), (l2)) && !mls_level_dom((l2), (l1)))
44 #define mls_level_between(l1, l2, l3) \
45 (mls_level_dom((l1), (l2)) && mls_level_dom((l3), (l1)))
47 #define mls_range_contains(r1, r2) \
48 (mls_level_dom(&(r2).level[0], &(r1).level[0]) && \
49 mls_level_dom(&(r1).level[1], &(r2).level[1]))