Home
last modified time | relevance | path

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

/system/sepolicy/tests/
Dsepol_wrap.cpp269 struct avtab_iter *avtab_i) in get_avtab_allow_rule() argument
273 for (; avtab_i->i < avtab_i->avtab->nslot; (avtab_i->i)++) { in get_avtab_allow_rule()
274 if (avtab_i->cur == nullptr) { in get_avtab_allow_rule()
275 avtab_i->cur = avtab_i->avtab->htable[avtab_i->i]; in get_avtab_allow_rule()
277 for (; avtab_i->cur; avtab_i->cur = (avtab_i->cur)->next) { in get_avtab_allow_rule()
278 if (!((avtab_i->cur)->key.specified & AVTAB_ALLOWED)) continue; in get_avtab_allow_rule()
281 db->p_type_val_to_name[(avtab_i->cur)->key.source_type - 1], in get_avtab_allow_rule()
282 db->p_type_val_to_name[(avtab_i->cur)->key.target_type - 1], in get_avtab_allow_rule()
283 db->p_class_val_to_name[(avtab_i->cur)->key.target_class - 1], in get_avtab_allow_rule()
284 … sepol_av_to_string(db, (avtab_i->cur)->key.target_class, (avtab_i->cur)->datum.data)); in get_avtab_allow_rule()
[all …]