HomeSort by relevance Sort by last modified time
    Searched refs:type_rules (Results 1 - 2 of 2) sorted by null

  /system/sepolicy/tools/sepolicy-analyze/
typecmp.c 11 struct avtab_node *type_rules)
15 for (p = type_rules, c = type_rules->next; c; p = c, c = c->next) {
57 struct avtab_node *type_rules = args; local
72 if (insert_type_rule(&key, d, &type_rules[k->source_type - 1]))
87 if (insert_type_rule(&key, d, &type_rules[k->target_type - 1]))
160 struct avtab_node *type_rules, *l1, *l2; local
168 type_rules = malloc(sizeof(struct avtab_node) * policydb->p_types.nprim);
169 if (!type_rules) {
173 memset(type_rules, 0, sizeof(struct avtab_node) * policydb->p_types.nprim)
    [all...]
  /external/selinux/checkpolicy/
checkpolicy.c 162 struct avtab_node *type_rules)
166 for (p = type_rules, c = type_rules->next; c; p = c, c = c->next) {
199 struct avtab_node *type_rules = args; local
206 if (insert_type_rule(k, d, &type_rules[k->source_type - 1]))
208 if (insert_type_rule(k, d, &type_rules[k->target_type - 1]))
228 struct avtab_node *type_rules, *l1, *l2; local
235 type_rules = malloc(sizeof(struct avtab_node) * policydb.p_types.nprim);
236 if (!type_rules) {
240 memset(type_rules, 0
    [all...]

Completed in 171 milliseconds