Home
last modified time | relevance | path

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

/external/selinux/libsepol/include/sepol/policydb/
Davrule_block.h31 extern avrule_decl_t *avrule_decl_create(uint32_t decl_id);
32 extern void avrule_decl_destroy(avrule_decl_t * x);
34 extern avrule_decl_t *get_avrule_decl(policydb_t * p, uint32_t decl_id);
36 avrule_decl_t * decl,
Dpolicydb.h475 } avrule_decl_t; typedef
478 avrule_decl_t *branch_list;
479 avrule_decl_t *enabled; /* pointer to which branch is enabled. this is
560 avrule_decl_t **decl_val_to_struct;
/external/selinux/libsepol/src/
Davrule_block.c53 avrule_decl_t *avrule_decl_create(uint32_t decl_id) in avrule_decl_create()
55 avrule_decl_t *decl; in avrule_decl_create()
94 void avrule_decl_destroy(avrule_decl_t * x) in avrule_decl_destroy()
114 avrule_decl_t *decl; in avrule_block_destroy()
120 avrule_decl_t *next_decl = decl->next; in avrule_block_destroy()
138 cond_list_t *get_decl_cond_list(policydb_t * p, avrule_decl_t * decl, in get_decl_cond_list()
159 avrule_decl_t *decl; in is_id_enabled()
Dlink.c63 avrule_decl_t *dest_decl;
1609 avrule_decl_t * dest_decl) in copy_identifiers()
1711 avrule_decl_t * src_decl, avrule_decl_t * dest_decl) in copy_avrule_decl()
1759 avrule_decl_t *decl, *last_decl = NULL; in copy_avrule_block()
1771 avrule_decl_t *new_decl = in copy_avrule_block()
1975 avrule_decl_t * decl, in is_decl_requires_met()
2181 avrule_decl_t *decl; in enable_avrules()
2263 avrule_decl_t *decl; in cond_normalize()
2309 avrule_decl_t *decl; in prepare_module()
2342 avrule_decl_t *decl; in prepare_base()
[all …]
Dexpand.c2730 avrule_decl_t *decl = curblock->enabled; in copy_and_expand_avrule_block()
2830 avrule_decl_t *decl; in discard_tunables()
3090 avrule_decl_t *decl = curblock->enabled; in expand_module()
Dwrite.c1954 static int avrule_decl_write(avrule_decl_t * decl, int num_scope_syms, in avrule_decl_write()
2016 avrule_decl_t *decl; in avrule_block_write()
Dpolicydb.c1170 avrule_decl_t *decl; in policydb_index_decls()
3768 static int avrule_decl_read(policydb_t * p, avrule_decl_t * decl, in avrule_decl_read()
3833 avrule_decl_t *last_decl = NULL, *curdecl; in avrule_block_read()
/external/selinux/checkpolicy/
Dmodule_compiler.c32 avrule_decl_t *decl; /* if in an avrule block, which
157 avrule_decl_t *decl = stack_top->decl; in create_symbol()
200 avrule_decl_t *decl = stack_top->decl; in declare_symbol()
719 avrule_decl_t *decl = stack_top->decl; in require_symbol()
737 avrule_decl_t *decl = stack_top->decl; in add_perm_to_class()
1114 avrule_decl_t *decl = stack->decl; in is_scope_in_stack()
1160 avrule_decl_t *decl = stack->decl; in is_perm_in_stack()
1198 avrule_decl_t *decl = stack_top->decl; in get_current_cond_list()
1231 avrule_decl_t *decl = stack_top->decl; in append_avrule()
1251 avrule_decl_t *decl = stack_top->decl; in append_role_trans()
[all …]
/external/selinux/libsepol/tests/
Dtest-common.h65 extern role_datum_t *test_role_type_set(policydb_t * p, const char *id, avrule_decl_t * decl, const…
76 extern void test_attr_types(policydb_t * p, const char *id, avrule_decl_t * decl, const char **type…
Dtest-linker-cond-map.c57 void test_cond_expr_mapping(policydb_t * p, avrule_decl_t * d, test_cond_expr_t * bools, int len) in test_cond_expr_mapping()
89 avrule_decl_t *d; in base_cond_tests()
120 avrule_decl_t *d; in module_cond_tests()
Dtest-deps.c145 avrule_decl_t *decl; in do_deps_modreq_global()
228 avrule_decl_t *decl; in do_deps_modreq_opt()
Dtest-linker-roles.c70 avrule_decl_t *decl; in base_role_tests()
101 avrule_decl_t *decl; in module_role_tests()
Dhelpers.h86 extern avrule_decl_t *test_find_decl_by_sym(policydb_t * p, int symtab, const char *sym);
Dhelpers.c66 avrule_decl_t *test_find_decl_by_sym(policydb_t * p, int symtab, const char *sym) in test_find_decl_by_sym()
Dtest-common.c186 role_datum_t *test_role_type_set(policydb_t * p, const char *id, avrule_decl_t * decl, const char *… in test_role_type_set()
226 void test_attr_types(policydb_t * p, const char *id, avrule_decl_t * decl, const char **types, int … in test_attr_types()
Dtest-linker-types.c167 avrule_decl_t *d; in module_type_tests()
/external/selinux/checkpolicy/test/
Ddismod.c615 int display_avdecl(avrule_decl_t * decl, int field, in display_avdecl()
702 avrule_decl_t *decl = block->branch_list; in display_avblock()