Home
last modified time | relevance | path

Searched refs:ebitmap_cpy (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libsepol/include/sepol/policydb/
Dcontext.h63 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low()
68 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[0].cat); in mls_context_cpy_low()
83 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[1].cat); in mls_context_cpy_high()
88 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy_high()
Debitmap.h88 extern int ebitmap_cpy(ebitmap_t * dst, const ebitmap_t * src);
Dmls_types.h55 if (ebitmap_cpy(&dst->cat, &src->cat) < 0) in mls_level_cpy()
/external/selinux/libsepol/src/
Dmls.c463 rc = ebitmap_cpy(&dst->range.level[l].cat, in mls_copy_context()
483 rc = ebitmap_cpy(&dst->range.level[l].cat, in mls_scopy_context()
502 rc = ebitmap_cpy(&context->range.level[l].cat, in mls_range_set()
Dexpand.c343 if (ebitmap_cpy(&new_expr->names, in constraint_node_clone()
715 if (ebitmap_cpy(&role->dominates, &mapped_roles)) in role_remap_dominates()
2340 if (ebitmap_cpy(&p->attr_type_map[value - 1], &type->types)) { in type_attr_map()
2469 if (ebitmap_cpy(&mapped_roles, &x->roles)) in role_set_expand()
2554 if (ebitmap_cpy(&types, &set->types)) in type_set_expand()
2659 if (ebitmap_cpy(&avrule->stypes.types, &stypes)) in copy_neverallow()
2662 if (ebitmap_cpy(&avrule->ttypes.types, &ttypes)) in copy_neverallow()
2994 if (ebitmap_cpy(&out->policycaps, &base->policycaps)) { in expand_module()
Debitmap.c171 int ebitmap_cpy(ebitmap_t * dst, const ebitmap_t * src) in ebitmap_cpy() function
Dpolicydb.c1710 if (ebitmap_cpy(&dst->types, &src->types)) in type_set_cpy()
1712 if (ebitmap_cpy(&dst->negset, &src->negset)) in type_set_cpy()
1830 rc = ebitmap_cpy(&r->level[1].cat, &r->level[0].cat); in mls_read_range_helper()
/external/selinux/mcstrans/src/
Dmcstrans.c218 int rc = ebitmap_cpy(e, def); in parse_ebitmap()
1209 if (ebitmap_cpy(&tmp, &mraw->cat) < 0) goto err; in compute_raw_from_trans()
1330 if (ebitmap_cpy(&orig_unhandled, &unhandled) < 0) in compute_trans_from_raw()
1401 if (ebitmap_cpy(&temp, &unhandled) < 0) in compute_trans_from_raw()
/external/selinux/libsepol/cil/src/
Dcil_binary.c158 if (ebitmap_cpy(new, attr->users)) { in __cil_expand_user()
184 if (ebitmap_cpy(new, attr->roles)) { in __cil_expand_role()
210 if (ebitmap_cpy(new, attr->types)) { in __cil_expand_type()
1743 rc = ebitmap_cpy(hashtab_xperms, xperms); in __cil_avrulex_ioctl_to_hashtable()
/external/selinux/checkpolicy/
Dpolicy_define.c3436 if (ebitmap_cpy(&newe->names, &e->names)) in constraint_expr_clone()
4472 if (ebitmap_cpy(&c->range.level[1].cat, in parse_security_context()