Home
last modified time | relevance | path

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

/third_party/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.c64 avrule_decl_t *dest_decl;
1612 avrule_decl_t * dest_decl) in copy_identifiers()
1710 avrule_decl_t * src_decl, avrule_decl_t * dest_decl) in copy_avrule_decl()
1758 avrule_decl_t *decl, *last_decl = NULL; in copy_avrule_block()
1770 avrule_decl_t *new_decl = in copy_avrule_block()
1974 avrule_decl_t * decl, in is_decl_requires_met()
2180 avrule_decl_t *decl; in enable_avrules()
2262 avrule_decl_t *decl; in cond_normalize()
2308 avrule_decl_t *decl; in prepare_module()
2341 avrule_decl_t *decl; in prepare_base()
[all …]
Dpolicydb_validate.c204 avrule_decl_t *decl; in validate_scopes()
1216 avrule_decl_t *decl; in validate_avrule_blocks()
Dexpand.c2759 avrule_decl_t *decl = curblock->enabled; in copy_and_expand_avrule_block()
2859 avrule_decl_t *decl; in discard_tunables()
3118 avrule_decl_t *decl = curblock->enabled; in expand_module()
Dwrite.c2043 static int avrule_decl_write(avrule_decl_t * decl, int num_scope_syms, in avrule_decl_write()
2105 avrule_decl_t *decl; in avrule_block_write()
Dpolicydb.c1186 avrule_decl_t *decl; in policydb_index_decls()
3981 static int avrule_decl_read(policydb_t * p, avrule_decl_t * decl, in avrule_decl_read()
4048 avrule_decl_t *last_decl = NULL, *curdecl; in avrule_block_read()
/third_party/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.h477 } avrule_decl_t; typedef
480 avrule_decl_t *branch_list;
481 avrule_decl_t *enabled; /* pointer to which branch is enabled. this is
562 avrule_decl_t **decl_val_to_struct;
/third_party/selinux/checkpolicy/
Dmodule_compiler.c32 avrule_decl_t *decl; /* if in an avrule block, which
158 avrule_decl_t *decl = stack_top->decl; in create_symbol()
201 avrule_decl_t *decl = stack_top->decl; in declare_symbol()
720 avrule_decl_t *decl = stack_top->decl; in require_symbol()
738 avrule_decl_t *decl = stack_top->decl; in add_perm_to_class()
1115 const avrule_decl_t *decl = stack->decl; in is_scope_in_stack()
1161 avrule_decl_t *decl = stack->decl; in is_perm_in_stack()
1199 avrule_decl_t *decl = stack_top->decl; in get_current_cond_list()
1232 avrule_decl_t *decl = stack_top->decl; in append_avrule()
1252 avrule_decl_t *decl = stack_top->decl; in append_role_trans()
[all …]
/third_party/selinux/libsepol/tests/
Dtest-linker-cond-map.c58 static void test_cond_expr_mapping(policydb_t * p, avrule_decl_t * d, test_cond_expr_t * bools, int… in test_cond_expr_mapping()
90 avrule_decl_t *d; in base_cond_tests()
121 avrule_decl_t *d; in module_cond_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-deps.c145 avrule_decl_t *decl; in do_deps_modreq_global()
228 avrule_decl_t *decl; in do_deps_modreq_opt()
Dtest-linker-roles.c71 avrule_decl_t *decl; in base_role_tests()
102 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.c187 role_datum_t *test_role_type_set(policydb_t * p, const char *id, avrule_decl_t * decl, const char *… in test_role_type_set()
227 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.c168 avrule_decl_t *d; in module_type_tests()
/third_party/selinux/checkpolicy/test/
Ddismod.c614 static int display_avdecl(avrule_decl_t * decl, int field, in display_avdecl()
700 avrule_decl_t *decl = block->branch_list; in display_avblock()