Searched refs:l2 (Results 1 – 2 of 2) sorted by relevance
/security/selinux/ss/ |
D | mls_types.h | 29 static inline int mls_level_eq(struct mls_level *l1, struct mls_level *l2) in mls_level_eq() argument 31 return ((l1->sens == l2->sens) && in mls_level_eq() 32 ebitmap_cmp(&l1->cat, &l2->cat)); in mls_level_eq() 35 static inline int mls_level_dom(struct mls_level *l1, struct mls_level *l2) in mls_level_dom() argument 37 return ((l1->sens >= l2->sens) && in mls_level_dom() 38 ebitmap_contains(&l1->cat, &l2->cat)); in mls_level_dom() 41 #define mls_level_incomp(l1, l2) \ argument 42 (!mls_level_dom((l1), (l2)) && !mls_level_dom((l2), (l1))) 44 #define mls_level_between(l1, l2, l3) \ argument 45 (mls_level_dom((l1), (l2)) && mls_level_dom((l3), (l1)))
|
D | services.c | 279 struct mls_level *l1, *l2; in constraint_expr_eval() local 338 l2 = &(tcontext->range.level[0]); in constraint_expr_eval() 342 l2 = &(tcontext->range.level[1]); in constraint_expr_eval() 346 l2 = &(tcontext->range.level[0]); in constraint_expr_eval() 350 l2 = &(tcontext->range.level[1]); in constraint_expr_eval() 354 l2 = &(scontext->range.level[1]); in constraint_expr_eval() 358 l2 = &(tcontext->range.level[1]); in constraint_expr_eval() 363 s[++sp] = mls_level_eq(l1, l2); in constraint_expr_eval() 366 s[++sp] = !mls_level_eq(l1, l2); in constraint_expr_eval() 369 s[++sp] = mls_level_dom(l1, l2); in constraint_expr_eval() [all …]
|