Home
last modified time | relevance | path

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

/security/selinux/ss/
Dcontext.h102 struct mls_range *dr = &dst->range, *r1 = &c1->range, *r2 = &c2->range; in mls_context_glblub() local
105 if (r1->level[1].sens < r2->level[0].sens || in mls_context_glblub()
106 r2->level[1].sens < r1->level[0].sens) in mls_context_glblub()
111 dr->level[0].sens = max(r1->level[0].sens, r2->level[0].sens); in mls_context_glblub()
114 dr->level[1].sens = min(r1->level[1].sens, r2->level[1].sens); in mls_context_glblub()
117 &r1->level[0].cat, &r2->level[0].cat); in mls_context_glblub()
122 &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.c37 static const u32 r2 = 13; in avtab_hash() local
49 hash = (hash << r2) | (hash >> (32 - r2)); \ in avtab_hash()
Dservices.c280 struct role_datum *r1, *r2; in constraint_expr_eval() local
318 r2 = policydb->role_val_to_struct[val2 - 1]; in constraint_expr_eval()
325 s[++sp] = ebitmap_get_bit(&r2->dominates, in constraint_expr_eval()
331 !ebitmap_get_bit(&r2->dominates, in constraint_expr_eval()