Searched refs:type_rules (Results 1 – 1 of 1) sorted by relevance
/system/sepolicy/tools/sepolicy-analyze/ |
D | typecmp.c | 11 struct avtab_node *type_rules) in insert_type_rule() argument 15 for (p = type_rules, c = type_rules->next; c; p = c, c = c->next) { in insert_type_rule() 57 struct avtab_node *type_rules = args; in create_type_rules_helper() local 72 if (insert_type_rule(&key, d, &type_rules[k->source_type - 1])) in create_type_rules_helper() 87 if (insert_type_rule(&key, d, &type_rules[k->target_type - 1])) in create_type_rules_helper() 160 struct avtab_node *type_rules, *l1, *l2; in analyze_types() local 168 type_rules = malloc(sizeof(struct avtab_node) * policydb->p_types.nprim); in analyze_types() 169 if (!type_rules) { in analyze_types() 173 memset(type_rules, 0, sizeof(struct avtab_node) * policydb->p_types.nprim); in analyze_types() 192 if (avtab_map(&exp_avtab, create_type_rules, type_rules)) in analyze_types() [all …]
|