Home
last modified time | relevance | path

Searched refs:target_class (Results 1 – 19 of 19) sorted by relevance

/third_party/selinux/libsepol/src/
Davtab.c77 mix(keyp->target_class); in avtab_hash()
151 key->target_class == cur->key.target_class && in avtab_insert()
165 key->target_class < cur->key.target_class) in avtab_insert()
195 key->target_class == cur->key.target_class && in avtab_insert_nonunique()
205 key->target_class < cur->key.target_class) in avtab_insert_nonunique()
227 key->target_class == cur->key.target_class && in avtab_search()
238 key->target_class < cur->key.target_class) in avtab_search()
262 key->target_class == cur->key.target_class && in avtab_search_node()
273 key->target_class < cur->key.target_class) in avtab_search_node()
290 node->key.target_class == cur->key.target_class && in avtab_search_node_next()
[all …]
Dhierarchy.c109 avtab_key.target_class = class; in bounds_expand_rule()
137 n->key.target_class, n->datum.data); in bounds_expand_cond_rules()
162 k->target_class, d->data); in bounds_expand_rule_callback()
273 new->key.target_class = class; in bounds_add_bad()
295 avtab_key.target_class = class; in bounds_check_rule()
339 key->target_type, key->target_class, in bounds_check_cond_rules()
368 k->target_class, d->data, &a->bad, &a->numbad); in bounds_check_rule_callback()
449 p->p_class_val_to_name[cur->key.target_class - 1], in bounds_report()
450 sepol_av_to_string(p, cur->key.target_class, in bounds_report()
Doptimize.c215 key.target_class = entry->key.target_class; in is_avrule_redundant()
268 c1 = e1->key.target_class; in is_cond_rule_redundant()
276 c2 = e2->key.target_class; in is_cond_rule_redundant()
Dassertion.c230 if (!match_any_class_permissions(avrule->perms, k->target_class, d->data)) in report_assertion_avtab_matches()
267 if ((cp->tclass != k->target_class) || !perms) { in report_assertion_avtab_matches()
482 if (!match_any_class_permissions(avrule->perms, k->target_class, d->data)) in check_assertion_avtab_match()
Dexpand.c1516 key.target_class = tclass; in exp_rangetr_helper()
1542 rt->target_class = tclass; in exp_rangetr_helper()
1730 avkey.target_class = cur->tclass; in expand_terule_helper()
1767 p->p_class_val_to_name[avkey.target_class - in expand_terule_helper()
1776 p->p_class_val_to_name[avkey.target_class - 1], in expand_terule_helper()
1858 avkey.target_class = cur->tclass; in expand_avrule_helper()
3296 newkey.target_class = k->target_class; in expand_avtab_node()
3418 newkey.target_class = k->target_class; in expand_cond_av_node()
Dconditional.c899 cur_av->node->key.target_class == key->target_class) in cond_av_list_search()
Dwrite.c132 val = cur->key.target_class; in avtab_write_item()
225 buf16[2] = cpu_to_le16(cur->key.target_class); in avtab_write_item()
1671 if (args->new_rangetr || rt->target_class == p->process_class) in rangetrans_count()
1689 if (!new_rangetr && rt->target_class != p->process_class) { in range_write_helper()
1704 buf[0] = cpu_to_le32(rt->target_class); in range_write_helper()
Dpolicydb.c849 (key->target_class << 5)) & (h->size - 1); in rangetr_hash()
867 v = spaceship_cmp(key1->target_class, key2->target_class); in rangetr_cmp()
3652 rt->target_class = le32_to_cpu(buf[0]); in range_read()
3653 if (!value_isvalid(rt->target_class, p->p_classes.nprim)) in range_read()
3656 rt->target_class = p->process_class; in range_read()
3684 if (ebitmap_set_bit(&rtr->tclasses, rt->target_class - 1, 1)) in range_read()
Dpolicydb_validate.c787 if (validate_value(key->target_class, &flavors[SYM_CLASSES])) in validate_avtab_key()
1388 if (validate_value(rt->target_class, &flavors[SYM_CLASSES])) in validate_range_transition()
Dmls.c622 rtr.target_class = tclass; in mls_compute_sid()
Dkernel_to_conf.c1731 class = pdb->p_class_val_to_name[key->target_class - 1]; in avtab_node_to_str()
1734 perms = sepol_av_to_string(pdb, key->target_class, data); in avtab_node_to_str()
1978 class = pdb->p_class_val_to_name[rt->target_class - 1]; in map_range_trans_to_str()
Dservices.c944 avkey.target_class = tclass; in context_struct_compute_av()
1408 avkey.target_class = tclass; in sepol_compute_sid()
Dkernel_to_cil.c1754 class = pdb->p_class_val_to_name[key->target_class - 1]; in avtab_node_to_str()
1757 perms = sepol_av_to_string(pdb, key->target_class, data); in avtab_node_to_str()
2002 class = pdb->p_class_val_to_name[rt->target_class - 1]; in map_range_trans_to_str()
/third_party/selinux/libsepol/include/sepol/policydb/
Davtab.h53 uint16_t target_class; member
Dpolicydb.h232 uint32_t target_class; member
/third_party/selinux/checkpolicy/
Dcheckpolicy.c185 k->target_class < c->key.target_class) in insert_type_rule()
276 if (l1->key.target_class != l2->key.target_class in identify_equiv_types()
/third_party/selinux/checkpolicy/test/
Ddispol.c50 perm = sepol_av_to_string(p, key->target_class, mask); in render_access_mask()
68 tclass = p->p_class_val_to_name[key->target_class - 1]; in render_key()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c964 cur_av->node->key.target_class == key->target_class && in cil_cond_av_list_search()
982 avtab_key.target_class = obj; in __cil_insert_type_rule()
1353 avtab_key.target_class = obj; in __cil_insert_avrule()
1717 sepol_obj = pdb->class_val_to_struct[avtab_key->target_class - 1]; in __cil_avrulex_ioctl_to_policydb()
1778 avtab_key->target_class = obj; in __cil_avrulex_ioctl_to_hashtable()
3287 newkey->target_class = sepol_class->s.value; in cil_rangetransition_to_policydb()
4421 mix(k->target_class); in avrulex_hash()
4444 … != b->source_type || a->target_type != b->target_type || a->target_class != b->target_class || a-… in avrulex_compare()
4936 …cil_rule->perms.classperms = cil_classperms_from_sepol(pdb, k->target_class, d->data, class_value_… in cil_avrule_from_sepol()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h54081 u16 target_class; member
54313 u32 target_class; member