Home
last modified time | relevance | path

Searched refs:exp_avtab (Results 1 – 2 of 2) sorted by relevance

/system/sepolicy/tools/
Dsepolicy-check.c67 avtab_t exp_avtab; in expand_and_check() local
72 if (avtab_init(&exp_avtab)) { in expand_and_check()
77 if (expand_avtab(policy, avtab, &exp_avtab)) { in expand_and_check()
79 avtab_destroy(&exp_avtab); in expand_and_check()
83 for (i = 0; i < exp_avtab.nslot; i++) { in expand_and_check()
84 for (cur = exp_avtab.htable[i]; cur; cur = cur->next) { in expand_and_check()
91 avtab_destroy(&exp_avtab); in expand_and_check()
97 avtab_destroy(&exp_avtab); in expand_and_check()
/system/sepolicy/tools/sepolicy-analyze/
Dtypecmp.c159 avtab_t exp_avtab, exp_cond_avtab; in analyze_types() local
175 if (avtab_init(&exp_avtab) || avtab_init(&exp_cond_avtab)) { in analyze_types()
181 if (expand_avtab(policydb, &policydb->te_avtab, &exp_avtab)) { in analyze_types()
183 avtab_destroy(&exp_avtab); in analyze_types()
190 avtab_destroy(&exp_avtab); /* */ in analyze_types()
195 if (avtab_map(&exp_avtab, create_type_rules, type_rules)) { in analyze_types()
205 avtab_destroy(&exp_avtab); in analyze_types()