Home
last modified time | relevance | path

Searched refs:avtab_ptr_t (Results 1 - 15 of 15) sorted by relevance

/third_party/selinux/libsepol/include/sepol/policydb/
H A 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);
H A Dhierarchy.h37 extern void bounds_destroy_bad(avtab_ptr_t cur);
39 uint32_t parent, avtab_ptr_t *bad, int *numbad);
H A Dconditional.h67 avtab_ptr_t node;
/third_party/selinux/libsepol/src/
H A 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 cu in avtab_search_node()
[all...]
H A Doptimize.c199 static int is_avrule_redundant(avtab_ptr_t entry, avtab_t *tab, in is_avrule_redundant()
248 static int is_avrule_with_attr(avtab_ptr_t entry, policydb_t *p) in is_avrule_with_attr()
257 static int is_cond_rule_redundant(avtab_ptr_t e1, cond_av_list_t *list, in is_cond_rule_redundant()
272 avtab_ptr_t e2 = list->node; in is_cond_rule_redundant()
299 avtab_ptr_t *cur; in optimize_avtab()
306 avtab_ptr_t tmp = *cur; in optimize_avtab()
377 avtab_ptr_t *cur; in optimize_cond_avtab()
425 avtab_ptr_t tmp = *cur; in optimize_cond_avtab()
H A 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 cu
[all...]
H A Dassertion.c151 avtab_ptr_t node; in report_assertion_extended_permissions()
328 avtab_ptr_t node; in check_assertion_extended_permissions_avtab()
H A Dexpand.c1621 static avtab_ptr_t find_avtab_node(sepol_handle_t * handle, in find_avtab_node()
1626 avtab_ptr_t node; in find_avtab_node()
1712 avtab_ptr_t node; in expand_terule_helper()
1844 avtab_ptr_t node; in expand_avrule_helper()
3216 avtab_ptr_t node; in expand_avtab_insert()
3360 avtab_ptr_t node; in expand_cond_insert()
3404 avtab_ptr_t node, in expand_cond_av_node()
3468 avtab_ptr_t node; in expand_cond_av_list()
H A Dconditional.c468 /* the avtab_ptr_t node is destroy by the avtab */ in cond_av_list_destroy()
626 avtab_ptr_t node_ptr; in cond_insertf()
864 avtab_ptr_t node; in cond_compute_av()
H A 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()
H A Dservices.c918 avtab_ptr_t node; in context_struct_compute_av()
1339 avtab_ptr_t node; in sepol_compute_sid()
H A Dkernel_to_cil.c2056 avtab_ptr_t node; in write_cond_av_list_to_cil()
H A Dkernel_to_conf.c2032 avtab_ptr_t node; in write_cond_av_list_to_conf()
/third_party/selinux/checkpolicy/test/
H A Ddispol.c169 avtab_ptr_t cur; in display_avtab()
/third_party/selinux/libsepol/cil/src/
H A Dcil_binary.c925 avtab_ptr_t avtab_ptr = NULL; in __cil_cond_insert_rule()
978 avtab_ptr_t existing; in __cil_insert_type_rule()
4925 static int cil_avrule_from_sepol(policydb_t *pdb, avtab_ptr_t sepol_rule, struct cil_avrule *cil_rule, void *type_value_to_cil[], struct cil_class *class_value_to_cil[], struct cil_perm **perm_value_to_cil[]) in cil_avrule_from_sepol()
4954 avtab_ptr_t bad = NULL; in cil_check_type_bounds()
4970 avtab_ptr_t cur; in cil_check_type_bounds()

Completed in 28 milliseconds