Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/include/sepol/policydb/
Davtab.h88 typedef struct avtab_node *avtab_ptr_t; typedef
93 avtab_ptr_t next;
101 avtab_ptr_t *htable;
128 extern avtab_ptr_t avtab_insert_nonunique(avtab_t * h, avtab_key_t * key,
131 extern avtab_ptr_t avtab_insert_with_parse_context(avtab_t * h,
136 extern avtab_ptr_t avtab_search_node(avtab_t * h, avtab_key_t * key);
138 extern avtab_ptr_t avtab_search_node_next(avtab_ptr_t node, int specified);
Dhierarchy.h37 extern void bounds_destroy_bad(avtab_ptr_t cur);
39 uint32_t parent, avtab_ptr_t *bad, int *numbad);
Dconditional.h67 avtab_ptr_t node;
/third_party/selinux/libsepol/src/
Davtab.c92 static avtab_ptr_t
93 avtab_insert_node(avtab_t * h, int hvalue, avtab_ptr_t prev, avtab_key_t * key, in avtab_insert_node()
96 avtab_ptr_t newnode; in avtab_insert_node()
99 newnode = (avtab_ptr_t) malloc(sizeof(struct avtab_node)); in avtab_insert_node()
139 avtab_ptr_t prev, cur, newnode; in avtab_insert()
180 avtab_ptr_t
184 avtab_ptr_t prev, cur, newnode; in avtab_insert_nonunique()
216 avtab_ptr_t cur; in avtab_search()
248 avtab_ptr_t avtab_search_node(avtab_t * h, avtab_key_t * key) in avtab_search_node()
251 avtab_ptr_t cur; in avtab_search_node()
[all …]
Doptimize.c190 static int is_avrule_redundant(avtab_ptr_t entry, avtab_t *tab, in is_avrule_redundant()
239 static int is_avrule_with_attr(avtab_ptr_t entry, policydb_t *p) in is_avrule_with_attr()
248 static int is_cond_rule_redundant(avtab_ptr_t e1, cond_av_list_t *list, in is_cond_rule_redundant()
263 avtab_ptr_t e2 = list->node; in is_cond_rule_redundant()
290 avtab_ptr_t *cur; in optimize_avtab()
297 avtab_ptr_t tmp = *cur; in optimize_avtab()
368 avtab_ptr_t *cur; in optimize_cond_avtab()
416 avtab_ptr_t tmp = *cur; in optimize_cond_avtab()
Dhierarchy.c134 avtab_ptr_t n = cur->node; in bounds_expand_cond_rules()
263 uint32_t class, uint32_t data, avtab_ptr_t *bad) in bounds_add_bad()
285 avtab_ptr_t *bad, int *numbad) in bounds_check_rule()
325 uint32_t parent, avtab_ptr_t *bad, in bounds_check_cond_rules()
332 avtab_ptr_t ap = cur->node; in bounds_check_cond_rules()
354 avtab_ptr_t bad;
375 avtab_ptr_t *bad, int *numbad) in bounds_check_child_rules()
414 uint32_t parent, avtab_ptr_t *bad, int *numbad) in bounds_check_type()
440 uint32_t parent, avtab_ptr_t cur) in bounds_report()
455 void bounds_destroy_bad(avtab_ptr_t cur) in bounds_destroy_bad()
[all …]
Dassertion.c146 avtab_ptr_t node; in report_assertion_extended_permissions()
326 avtab_ptr_t node; in check_assertion_extended_permissions_avtab()
Dexpand.c1596 static avtab_ptr_t find_avtab_node(sepol_handle_t * handle, in find_avtab_node()
1601 avtab_ptr_t node; in find_avtab_node()
1687 avtab_ptr_t node; in expand_terule_helper()
1819 avtab_ptr_t node; in expand_avrule_helper()
3190 avtab_ptr_t node; in expand_avtab_insert()
3334 avtab_ptr_t node; in expand_cond_insert()
3378 avtab_ptr_t node, in expand_cond_av_node()
3442 avtab_ptr_t node; in expand_cond_av_list()
Dconditional.c628 avtab_ptr_t node_ptr; in cond_insertf()
875 avtab_ptr_t node; in cond_compute_av()
Dwrite.c106 avtab_ptr_t cur, struct policy_file *fp, in avtab_write_item()
109 avtab_ptr_t node; in avtab_write_item()
272 avtab_ptr_t cur; in avtab_reset_merged()
284 avtab_ptr_t cur; in avtab_write()
Dpolicydb_validate.c415 avtab_ptr_t avtab_ptr; in validate_cond_av_list()
Dservices.c917 avtab_ptr_t node; in context_struct_compute_av()
1332 avtab_ptr_t node; in sepol_compute_sid()
Dkernel_to_cil.c2030 avtab_ptr_t node; in write_cond_av_list_to_cil()
Dkernel_to_conf.c2011 avtab_ptr_t node; in write_cond_av_list_to_conf()
/third_party/selinux/checkpolicy/test/
Ddispol.c169 avtab_ptr_t cur; in display_avtab()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c925 avtab_ptr_t avtab_ptr = NULL; in __cil_cond_insert_rule()
978 avtab_ptr_t existing; in __cil_insert_type_rule()
4780 static int cil_avrule_from_sepol(policydb_t *pdb, avtab_ptr_t sepol_rule, struct cil_avrule *cil_ru… in cil_avrule_from_sepol()
4809 avtab_ptr_t bad = NULL; in cil_check_type_bounds()
4825 avtab_ptr_t cur; in cil_check_type_bounds()