Home
last modified time | relevance | path

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

/system/sepolicy/tests/
Dsepol_wrap.cpp256 avtab_t *avtab; member
273 for (; avtab_i->i < avtab_i->avtab->nslot; (avtab_i->i)++) { in get_avtab_allow_rule()
275 avtab_i->cur = avtab_i->avtab->htable[avtab_i->i]; in get_avtab_allow_rule()
317 out->avtab = in; in init_avtab_common()
355 avtab_t *avtab = (avtab_t *) calloc(1, sizeof(avtab_t)); in init_expanded_avtab_common() local
357 if (!avtab) { in init_expanded_avtab_common()
363 out->avtab = avtab; in init_expanded_avtab_common()
364 if (avtab_init(out->avtab)) { in init_expanded_avtab_common()
366 free(avtab); in init_expanded_avtab_common()
371 if (expand_avtab(p, in, out->avtab)) { in init_expanded_avtab_common()
[all …]
/system/sepolicy/tools/
Dsepolicy-check.c66 perm_datum_t *perm, policydb_t *policy, avtab_t *avtab) { in expand_and_check() argument
77 if (expand_avtab(policy, avtab, &exp_avtab)) { in expand_and_check()