Searched refs:type_rules (Results 1 – 1 of 1) sorted by relevance
/external/selinux/checkpolicy/ |
D | checkpolicy.c | 162 struct avtab_node *type_rules) in insert_type_rule() argument 166 for (p = type_rules, c = type_rules->next; c; p = c, c = c->next) { in insert_type_rule() 199 struct avtab_node *type_rules = args; in create_type_rules() local 206 if (insert_type_rule(k, d, &type_rules[k->source_type - 1])) in create_type_rules() 208 if (insert_type_rule(k, d, &type_rules[k->target_type - 1])) in create_type_rules() 228 struct avtab_node *type_rules, *l1, *l2; in identify_equiv_types() local 235 type_rules = malloc(sizeof(struct avtab_node) * policydb.p_types.nprim); in identify_equiv_types() 236 if (!type_rules) { in identify_equiv_types() 240 memset(type_rules, 0, in identify_equiv_types() 242 if (avtab_map(&policydb.te_avtab, create_type_rules, type_rules)) in identify_equiv_types() [all …]
|