Home
last modified time | relevance | path

Searched refs:avtab_node (Results 1 – 4 of 4) sorted by relevance

/external/sepolicy/tools/sepolicy-analyze/
Dtypecmp.c11 struct avtab_node *type_rules) in insert_type_rule()
13 struct avtab_node *p, *c, *n; in insert_type_rule()
41 n = malloc(sizeof(struct avtab_node)); in insert_type_rule()
57 struct avtab_node *type_rules = args; in create_type_rules_helper()
109 static void free_type_rules(struct avtab_node *l) in free_type_rules()
111 struct avtab_node *tmp; in free_type_rules()
120 static int find_match(policydb_t *policydb, struct avtab_node *l1, in find_match()
121 int idx1, struct avtab_node *l2, int idx2) in find_match()
123 struct avtab_node *c; in find_match()
160 struct avtab_node *type_rules, *l1, *l2; in analyze_types()
[all …]
/external/selinux/checkpolicy/
Dcheckpolicy.c162 struct avtab_node *type_rules) in insert_type_rule()
164 struct avtab_node *p, *c, *n; in insert_type_rule()
184 n = malloc(sizeof(struct avtab_node)); in insert_type_rule()
199 struct avtab_node *type_rules = args; in create_type_rules()
215 static void free_type_rules(struct avtab_node *l) in free_type_rules()
217 struct avtab_node *tmp; in free_type_rules()
228 struct avtab_node *type_rules, *l1, *l2; in identify_equiv_types()
235 type_rules = malloc(sizeof(struct avtab_node) * policydb.p_types.nprim); in identify_equiv_types()
241 sizeof(struct avtab_node) * policydb.p_types.nprim); in identify_equiv_types()
/external/selinux/libsepol/include/sepol/policydb/
Davtab.h86 typedef struct avtab_node *avtab_ptr_t;
88 struct avtab_node { struct
/external/selinux/libsepol/src/
Davtab.c98 newnode = (avtab_ptr_t) malloc(sizeof(struct avtab_node)); in avtab_insert_node()
101 memset(newnode, 0, sizeof(struct avtab_node)); in avtab_insert_node()