Searched refs:l1 (Results 1 – 2 of 2) sorted by relevance
/security/selinux/ss/ |
D | mls_types.h | 30 static inline int mls_level_eq(struct mls_level *l1, struct mls_level *l2) in mls_level_eq() argument 32 return ((l1->sens == l2->sens) && in mls_level_eq() 33 ebitmap_cmp(&l1->cat, &l2->cat)); in mls_level_eq() 36 static inline int mls_level_dom(struct mls_level *l1, struct mls_level *l2) in mls_level_dom() argument 38 return ((l1->sens >= l2->sens) && in mls_level_dom() 39 ebitmap_contains(&l1->cat, &l2->cat, 0)); in mls_level_dom() 42 #define mls_level_incomp(l1, l2) \ argument 43 (!mls_level_dom((l1), (l2)) && !mls_level_dom((l2), (l1))) 45 #define mls_level_between(l1, l2, l3) \ argument 46 (mls_level_dom((l1), (l2)) && mls_level_dom((l3), (l1)))
|
D | services.c | 271 struct mls_level *l1, *l2; in constraint_expr_eval() local 329 l1 = &(scontext->range.level[0]); in constraint_expr_eval() 333 l1 = &(scontext->range.level[0]); in constraint_expr_eval() 337 l1 = &(scontext->range.level[1]); in constraint_expr_eval() 341 l1 = &(scontext->range.level[1]); in constraint_expr_eval() 345 l1 = &(scontext->range.level[0]); in constraint_expr_eval() 349 l1 = &(tcontext->range.level[0]); in constraint_expr_eval() 355 s[++sp] = mls_level_eq(l1, l2); in constraint_expr_eval() 358 s[++sp] = !mls_level_eq(l1, l2); in constraint_expr_eval() 361 s[++sp] = mls_level_dom(l1, l2); in constraint_expr_eval() [all …]
|