Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Davrule_block.c177 decl = p->decl_val_to_struct[scope->decl_ids[i] - 1]; in is_id_enabled()
183 decl = p->decl_val_to_struct[scope->decl_ids[len-1] - 1]; in is_id_enabled()
Dlink.c1859 free(base_scope->decl_ids); in scope_copy_callback()
1860 base_scope->decl_ids = NULL; in scope_copy_callback()
1863 if (add_i_to_a(avdecl_map[scope->decl_ids[i]], in scope_copy_callback()
1865 &base_scope->decl_ids) == -1) { in scope_copy_callback()
1875 if (add_i_to_a(avdecl_map[scope->decl_ids[i]], in scope_copy_callback()
1877 &base_scope->decl_ids) == -1) { in scope_copy_callback()
1893 if (add_i_to_a(avdecl_map[scope->decl_ids[i]], in scope_copy_callback()
1895 &base_scope->decl_ids) == -1) { in scope_copy_callback()
Dpolicydb.c1593 free(cur->decl_ids); in scope_destroy()
1685 scope_datum->decl_ids = NULL; in symtab_insert()
1724 if (scope_datum->decl_ids[i] == avrule_decl_id) { in symtab_insert()
1732 &scope_datum->decl_ids) == -1) { in symtab_insert()
1744 tmp = scope_datum->decl_ids[len-2]; in symtab_insert()
1745 scope_datum->decl_ids[len-2] = scope_datum->decl_ids[len-1]; in symtab_insert()
1746 scope_datum->decl_ids[len-1] = tmp; in symtab_insert()
3935 if ((scope->decl_ids = in scope_read()
3939 rc = next_entry(scope->decl_ids, fp, sizeof(uint32_t) * scope->decl_ids_len); in scope_read()
3943 scope->decl_ids[i] = le32_to_cpu(scope->decl_ids[i]); in scope_read()
Dmodule_to_cil.c344 scope_id = scope->decl_ids[len-1]; in typealiases_gather_map()
505 if (scope->decl_ids[j] == decl->decl_id) { in is_id_in_scope_with_start()
3467 if (scope_datum->decl_ids[j] == decl->decl_id) { in required_scopes_to_cil()
Dwrite.c2066 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.c51 if (decls[i] == scope->decl_ids[j]) in test_sym_presence()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h495 uint32_t *decl_ids; member
/external/selinux/checkpolicy/
Dmodule_compiler.c1116 if (scope->decl_ids[i] == decl->decl_id) { in is_scope_in_stack()