Searched refs:source_type (Results 1 – 5 of 5) sorted by relevance
/system/sepolicy/tools/sepolicy-analyze/ |
D | typecmp.c | 21 if (k->source_type < c->key.source_type) in insert_type_rule() 23 if (k->source_type == c->key.source_type && in insert_type_rule() 26 if (k->source_type == c->key.source_type && in insert_type_rule() 33 k->source_type == c->key.source_type && in insert_type_rule() 67 key.source_type = 0; in create_type_rules_helper() 68 if (k->source_type == k->target_type) { in create_type_rules_helper() 72 if (insert_type_rule(&key, d, &type_rules[k->source_type - 1])) in create_type_rules_helper() 75 if (k->source_type == k->target_type) in create_type_rules_helper() 127 if (l1->key.source_type < c->key.source_type) in find_match() 129 if (l1->key.source_type == c->key.source_type && in find_match() [all …]
|
D | dups.c | 27 if (k->source_type == k->target_type) in find_dups_helper() 33 sattr = &policydb->type_attr_map[k->source_type - 1]; in find_dups_helper() 35 stype = policydb->type_val_to_struct[k->source_type - 1]; in find_dups_helper() 44 avkey.source_type = i + 1; in find_dups_helper() 46 if (avkey.source_type == k->source_type && in find_dups_helper() 49 if (avkey.source_type == avkey.target_type) in find_dups_helper() 51 stype2 = policydb->type_val_to_struct[avkey.source_type - 1]; in find_dups_helper()
|
D | utils.c | 15 policydb->p_type_val_to_name[key->source_type in display_allow() 16 ? key->source_type - 1 : idx], in display_allow() 17 key->target_type == key->source_type ? "self" : in display_allow()
|
/system/sepolicy/tools/ |
D | sepolicy-check.c | 63 int expand_and_check(int s_op, uint32_t source_type, in expand_and_check() argument 86 match &= check(s_op, source_type, cur->key.source_type); in expand_and_check() 128 key.source_type = key.target_type = key.target_class = 0; in check_rule() 167 key.source_type = src->s.value; in check_rule() 174 match = expand_and_check(s_op, key.source_type, in check_rule() 182 return expand_and_check(s_op, key.source_type, in check_rule()
|
/system/sepolicy/tests/ |
D | sepol_wrap.cpp | 281 db->p_type_val_to_name[(avtab_i->cur)->key.source_type - 1], in get_avtab_allow_rule()
|