Home
last modified time | relevance | path

Searched refs:r1 (Results 1 – 4 of 4) sorted by relevance

/security/selinux/ss/
Dcontext.h103 const struct mls_range *r1 = &c1->range, *r2 = &c2->range; in mls_context_glblub() local
106 if (r1->level[1].sens < r2->level[0].sens || in mls_context_glblub()
107 r2->level[1].sens < r1->level[0].sens) in mls_context_glblub()
112 dr->level[0].sens = max(r1->level[0].sens, r2->level[0].sens); in mls_context_glblub()
115 dr->level[1].sens = min(r1->level[1].sens, r2->level[1].sens); in mls_context_glblub()
118 &r1->level[0].cat, &r2->level[0].cat); in mls_context_glblub()
123 &r1->level[1].cat, &r2->level[1].cat); in mls_context_glblub()
Dmls_types.h48 #define mls_range_contains(r1, r2) \ argument
49 (mls_level_dom(&(r2).level[0], &(r1).level[0]) && \
50 mls_level_dom(&(r1).level[1], &(r2).level[1]))
Davtab.c36 static const u32 r1 = 15; in avtab_hash() local
46 v = (v << r1) | (v >> (32 - r1)); \ in avtab_hash()
Dservices.c280 struct role_datum *r1, *r2; in constraint_expr_eval() local
317 r1 = policydb->role_val_to_struct[val1 - 1]; in constraint_expr_eval()
321 s[++sp] = ebitmap_get_bit(&r1->dominates, in constraint_expr_eval()
329 s[++sp] = (!ebitmap_get_bit(&r1->dominates, in constraint_expr_eval()