Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Davtab.c76 mix(keyp->target_class); in avtab_hash()
150 key->target_class == cur->key.target_class && in avtab_insert()
164 key->target_class < cur->key.target_class) in avtab_insert()
194 key->target_class == cur->key.target_class && in avtab_insert_nonunique()
204 key->target_class < cur->key.target_class) in avtab_insert_nonunique()
226 key->target_class == cur->key.target_class && in avtab_search()
237 key->target_class < cur->key.target_class) in avtab_search()
261 key->target_class == cur->key.target_class && in avtab_search_node()
272 key->target_class < cur->key.target_class) in avtab_search_node()
289 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()
139 n->key.target_class, n->datum.data); in bounds_expand_cond_rules()
164 k->target_class, d->data); in bounds_expand_rule_callback()
275 new->key.target_class = class; in bounds_add_bad()
297 avtab_key.target_class = class; in bounds_check_rule()
343 key->target_type, key->target_class, in bounds_check_cond_rules()
372 k->target_class, d->data, &a->bad, &a->numbad); in bounds_check_rule_callback()
453 p->p_class_val_to_name[cur->key.target_class - 1], in bounds_report()
454 sepol_av_to_string(p, cur->key.target_class, in bounds_report()
Dassertion.c228 if (!match_any_class_permissions(avrule->perms, k->target_class, d->data)) in report_assertion_avtab_matches()
269 if ((cp->tclass != k->target_class) || !perms) { in report_assertion_avtab_matches()
438 if (cp->tclass != k->target_class) in check_assertion_extended_permissions()
477 if (!match_any_class_permissions(avrule->perms, k->target_class, d->data)) in check_assertion_avtab_match()
Dexpand.c1512 key.target_class = tclass; in exp_rangetr_helper()
1538 rt->target_class = tclass; in exp_rangetr_helper()
1728 avkey.target_class = cur->tclass; in expand_terule_helper()
1765 p->p_class_val_to_name[avkey.target_class - in expand_terule_helper()
1774 p->p_class_val_to_name[avkey.target_class - 1], in expand_terule_helper()
1856 avkey.target_class = cur->tclass; in expand_avrule_helper()
3308 newkey.target_class = k->target_class; in expand_avtab_node()
3438 newkey.target_class = k->target_class; in expand_cond_av_node()
Dconditional.c913 cur_av->node->key.target_class == key->target_class) in cond_av_list_search()
Dwrite.c128 val = cur->key.target_class; in avtab_write_item()
221 buf16[2] = cpu_to_le16(cur->key.target_class); in avtab_write_item()
1577 if (args->new_rangetr || rt->target_class == SECCLASS_PROCESS) in rangetrans_count()
1594 if (!new_rangetr && rt->target_class != SECCLASS_PROCESS) { in range_write_helper()
1609 buf[0] = cpu_to_le32(rt->target_class); in range_write_helper()
Dpolicydb.c811 (key->target_class << 5)) & (h->size - 1); in rangetr_hash()
829 v = key1->target_class - key2->target_class; in rangetr_cmp()
3436 rt->target_class = le32_to_cpu(buf[0]); in range_read()
3438 rt->target_class = SECCLASS_PROCESS; in range_read()
3466 if (ebitmap_set_bit(&rtr->tclasses, rt->target_class - 1, 1)) in range_read()
Dmls.c626 rtr.target_class = tclass; in mls_compute_sid()
Dkernel_to_conf.c1672 class = pdb->p_class_val_to_name[key->target_class - 1]; in avtab_node_to_str()
1675 perms = sepol_av_to_string(pdb, key->target_class, data); in avtab_node_to_str()
1905 class = pdb->p_class_val_to_name[rt->target_class - 1]; in map_range_trans_to_str()
Dkernel_to_cil.c1703 class = pdb->p_class_val_to_name[key->target_class - 1]; in avtab_node_to_str()
1706 perms = sepol_av_to_string(pdb, key->target_class, data); in avtab_node_to_str()
1937 class = pdb->p_class_val_to_name[rt->target_class - 1]; in map_range_trans_to_str()
Dservices.c932 avkey.target_class = tclass; in context_struct_compute_av()
1420 avkey.target_class = tclass; in sepol_compute_sid()
/external/tensorflow/tensorflow/python/keras/saving/
Dhdf5_format.py532 target_class = layer.__class__.__name__
535 if target_class in ['LSTM', 'CuDNNLSTM'] and len(weights) == 3:
575 if source != target_class:
579 if target_class in ['GRU', 'CuDNNGRU'] and len(weights) == 3:
614 if target_class == 'CuDNNGRU':
/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c64 uint32_t tclass = key->target_class; in render_access_mask()
93 tclass = p->p_class_val_to_name[key->target_class - 1]; in render_key()
/external/selinux/libsepol/include/sepol/policydb/
Davtab.h53 uint16_t target_class; member
Dpolicydb.h230 uint32_t target_class; member
/external/autotest/server/site_tests/cheets_GTS/
Dcheets_GTS.py99 target_class=None, argument
/external/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()
/external/autotest/server/site_tests/cheets_CTS_N/
Dcheets_CTS_N.py174 target_class=None, argument
/external/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()
/external/selinux/libsepol/cil/src/
Dcil_binary.c981 cur_av->node->key.target_class == key->target_class && in cil_cond_av_list_search()
999 avtab_key.target_class = obj; in __cil_insert_type_rule()
1318 avtab_key.target_class = obj; in __cil_insert_avrule()
1690 sepol_obj = pdb->class_val_to_struct[avtab_key->target_class - 1]; in __cil_avrulex_ioctl_to_policydb()
1759 avtab_key->target_class = obj; in __cil_avrulex_ioctl_to_hashtable()
3180 newkey->target_class = sepol_class->s.value; in cil_rangetransition_to_policydb()
4264 return ((k->target_class + (k->target_type << 2) + in range_trans_hash()
4275 …e_type != b->source_type || a->target_type != b->target_type || a->target_class != b->target_class; in range_trans_compare()
4321 mix(k->target_class); in avrulex_hash()
4344 … != b->source_type || a->target_type != b->target_type || a->target_class != b->target_class || a-… in avrulex_compare()
[all …]