Home
last modified time | relevance | path

Searched refs:exp_range (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libsepol/src/
Dusers.c74 if (mls_range_cpy(&context.range, &usrdatum->exp_range) < 0) { in user_to_record()
214 if (mls_range_cpy(&usrdatum->exp_range, &context.range) < 0) { in sepol_user_modify()
Dmls.c313 if (!mls_range_contains(usrdatum->exp_range, c->range)) in mls_context_isvalid()
515 mls_level_t *user_low = &(user->exp_range.level[0]); in mls_setup_user_range()
516 mls_level_t *user_clr = &(user->exp_range.level[1]); in mls_setup_user_range()
Dexpand.c1008 &new_user->exp_range, in user_copy_callback()
1018 &new_user->exp_range.level[0], in user_copy_callback()
1019 &new_user->exp_range.level[1])) { in user_copy_callback()
1038 if (!mls_range_eq(&new_user->exp_range, &tmp_range) || in user_copy_callback()
1480 mls_range_t exp_range; in exp_rangetr_helper() local
1483 if (mls_semantic_range_expand(trange, &exp_range, state->out, in exp_rangetr_helper()
1492 if (mls_range_eq(&check_rt->target_range, &exp_range)) { in exp_rangetr_helper()
1526 if (mls_range_cpy(&rt->target_range, &exp_range)) { in exp_rangetr_helper()
1534 mls_range_destroy(&exp_range); in exp_rangetr_helper()
Dpolicydb.c491 mls_range_init(&x->exp_range); in user_datum_init()
502 mls_range_destroy(&x->exp_range); in user_datum_destroy()
817 mls_range_destroy(&user->exp_range); in policydb_user_cache()
819 &user->exp_range, p, NULL)) { in policydb_user_cache()
2914 if (mls_read_range_helper(&usrdatum->exp_range, fp)) in user_read()
2919 if (mls_range_to_semantic(&usrdatum->exp_range, in user_read()
Dwrite.c1221 if (mls_write_range_helper(&usrdatum->exp_range, fp)) in user_write()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h199 mls_range_t exp_range; /* expanded range used for validation */ member
/external/selinux/libsepol/cil/src/
Dcil_binary.c2848 rc = __cil_levelrange_to_mls_range(pdb, cil_levelrange, &sepol_user->exp_range); in cil_userlevel_userrange_to_policydb()