Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Davrule_block.c176 decl = p->decl_val_to_struct[scope->decl_ids[i] - 1]; in is_id_enabled()
182 decl = p->decl_val_to_struct[scope->decl_ids[len-1] - 1]; in is_id_enabled()
Dlink.c1878 free(base_scope->decl_ids); in scope_copy_callback()
1879 base_scope->decl_ids = NULL; in scope_copy_callback()
1882 if (add_i_to_a(avdecl_map[scope->decl_ids[i]], in scope_copy_callback()
1884 &base_scope->decl_ids) == -1) { in scope_copy_callback()
1894 if (add_i_to_a(avdecl_map[scope->decl_ids[i]], in scope_copy_callback()
1896 &base_scope->decl_ids) == -1) { in scope_copy_callback()
1912 if (add_i_to_a(avdecl_map[scope->decl_ids[i]], in scope_copy_callback()
1914 &base_scope->decl_ids) == -1) { in scope_copy_callback()
Dpolicydb.c1571 free(cur->decl_ids); in scope_destroy()
1667 scope_datum->decl_ids = NULL; in symtab_insert()
1706 if (scope_datum->decl_ids[i] == avrule_decl_id) { in symtab_insert()
1714 &scope_datum->decl_ids) == -1) { in symtab_insert()
1726 tmp = scope_datum->decl_ids[len-2]; in symtab_insert()
1727 scope_datum->decl_ids[len-2] = scope_datum->decl_ids[len-1]; in symtab_insert()
1728 scope_datum->decl_ids[len-1] = tmp; in symtab_insert()
3917 if ((scope->decl_ids = in scope_read()
3921 rc = next_entry(scope->decl_ids, fp, sizeof(uint32_t) * scope->decl_ids_len); in scope_read()
3925 scope->decl_ids[i] = le32_to_cpu(scope->decl_ids[i]); in scope_read()
Dmodule_to_cil.c343 scope_id = scope->decl_ids[len-1]; in typealiases_gather_map()
504 if (scope->decl_ids[j] == decl->decl_id) { in is_id_in_scope_with_start()
3509 if (scope_datum->decl_ids[j] == decl->decl_id) { in required_scopes_to_cil()
Dwrite.c2037 buf[2 + i] = cpu_to_le32(scope->decl_ids[i]); in scope_write()
/external/selinux/libsepol/tests/
Dhelpers.c80 return p->decl_val_to_struct[scope->decl_ids[0] - 1]; in test_find_decl_by_sym()
Dtest-common.c49 if (decls[i] == scope->decl_ids[j]) in test_sym_presence()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h494 uint32_t *decl_ids; member
/external/selinux/checkpolicy/
Dmodule_compiler.c1116 if (scope->decl_ids[i] == decl->decl_id) { in is_scope_in_stack()