/aosp_15_r20/external/selinux/libsepol/tests/ |
H A D | test-ebitmap.c | 24 rc = ebitmap_set_bit(e, i, 1); in ebitmap_init_random() 63 CU_ASSERT_EQUAL(ebitmap_set_bit(&e1, 10, 1), 0); in test_ebitmap_cmp() 65 CU_ASSERT_EQUAL(ebitmap_set_bit(&e2, 10, 1), 0); in test_ebitmap_cmp() 68 CU_ASSERT_EQUAL(ebitmap_set_bit(&e1, 63, 1), 0); in test_ebitmap_cmp() 70 CU_ASSERT_EQUAL(ebitmap_set_bit(&e2, 63, 1), 0); in test_ebitmap_cmp() 73 CU_ASSERT_EQUAL(ebitmap_set_bit(&e1, 64, 1), 0); in test_ebitmap_cmp() 75 CU_ASSERT_EQUAL(ebitmap_set_bit(&e2, 64, 1), 0); in test_ebitmap_cmp() 78 CU_ASSERT_EQUAL(ebitmap_set_bit(&e1, 1022, 1), 0); in test_ebitmap_cmp() 80 CU_ASSERT_EQUAL(ebitmap_set_bit(&e2, 1022, 1), 0); in test_ebitmap_cmp() 83 CU_ASSERT_EQUAL(ebitmap_set_bit(&e1, 1023, 1), 0); in test_ebitmap_cmp() [all …]
|
/aosp_15_r20/system/sepolicy/tools/sepolicy-analyze/ |
H A D | neverallow.c | 128 rc = ebitmap_set_bit(&typeset->negset, type->s.value - 1, 1); in read_typeset() 130 rc = ebitmap_set_bit(&typeset->types, type->s.value - 1, 1); in read_typeset() 150 if (ebitmap_set_bit(&typeset->types, bit, 1)) in read_typeset() 158 if (ebitmap_set_bit(&typeset->types, bit, 0)) in read_typeset() 168 ebitmap_set_bit(&typeset->types, bit, 0); in read_typeset() 170 if (ebitmap_set_bit(&typeset->types, bit, 1)) in read_typeset()
|
/aosp_15_r20/external/selinux/libsepol/src/ |
H A D | expand.c | 68 if (ebitmap_set_bit(dst, map[i] - 1, 1)) in map_ebitmap() 86 if (ebitmap_set_bit(&tmp, bit, 1)) { in ebitmap_expand_roles() 168 if (ebitmap_set_bit(&state->out->permissive_map, new_type->s.value, 1)) { in type_copy_callback() 730 if (ebitmap_set_bit(&state->out->permissive_map, new_alias->s.value, 1)) { in alias_copy_callback() 960 if (ebitmap_set_bit(&l->cat, i, 1)) { in mls_semantic_level_expand() 2367 if (ebitmap_set_bit(&p->type_attr_map[i], value - 1, 1)) { in type_attr_map() 2373 if (ebitmap_set_bit(&p->type_attr_map[value - 1], value - 1, 0)) { in type_attr_map() 2378 if (ebitmap_set_bit(&p->attr_type_map[value - 1], value - 1, 1)) { in type_attr_map() 2467 if (ebitmap_set_bit(r, i, 1)) in role_set_expand() 2487 if (ebitmap_set_bit(&roles, i, 1)) in role_set_expand() [all …]
|
H A D | mls.c | 389 if (ebitmap_set_bit in mls_context_to_sid() 412 if (ebitmap_set_bit in mls_context_to_sid() 591 rc = ebitmap_set_bit(&bitmap, in mls_convert_context()
|
H A D | policydb.c | 2642 return ebitmap_set_bit(&datum->stypes, stype - 1, 1); in policydb_filetrans_insert() 2703 if (ebitmap_set_bit(&otypes, datum->otype, 1)) in filename_trans_check_datum() 3588 if (ebitmap_set_bit(&rtr->stypes.types, rt->source_type - 1, 1)) in range_read() 3591 if (ebitmap_set_bit(&rtr->ttypes.types, rt->target_type - 1, 1)) in range_read() 3594 if (ebitmap_set_bit(&rtr->tclasses, rt->target_class - 1, 1)) in range_read() 3697 if (ebitmap_set_bit(&tr->classes, p->process_class - 1, 1)) in role_trans_rule_read() 4447 if (ebitmap_set_bit in policydb_read() 4453 if (p->type_val_to_struct[i] && ebitmap_set_bit(&p->type_attr_map[i], i, 1)) in policydb_read() 4456 if (ebitmap_set_bit(&p->attr_type_map[i], i, 1)) in policydb_read()
|
H A D | users.c | 172 if (ebitmap_set_bit(&(usrdatum->roles.roles), bit, 1)) in sepol_user_modify()
|
H A D | link.c | 967 if (ebitmap_set_bit(dst, map[bit] - 1, 1)) in ebitmap_convert() 1627 if (ebitmap_set_bit in copy_scope_index() 2383 if (ebitmap_set_bit(&role->roles, i, 0)) in expand_role_attributes()
|
H A D | ebitmap.c | 369 int ebitmap_set_bit(ebitmap_t * e, unsigned int bit, int value) in ebitmap_set_bit() function
|
H A D | policydb_validate.c | 41 if (ebitmap_set_bit(gaps, i, 1)) in create_gap_ebitmap()
|
H A D | kernel_to_conf.c | 1616 rc = ebitmap_set_bit(&attrmap, i, 0); in write_type_attribute_sets_to_conf()
|
/aosp_15_r20/external/selinux/mcstrans/src/ |
H A D | mls_level.c | 51 if (ebitmap_set_bit(&l->cat, bit, 1)) in mls_level_from_string() 61 if (ebitmap_set_bit in mls_level_from_string()
|
H A D | mcstrans.c | 201 if (ebitmap_set_bit(e, low, inverse ? 0 : 1) < 0) in parse_category()
|
/aosp_15_r20/external/selinux/libsepol/cil/src/ |
H A D | cil_post.c | 913 if (ebitmap_set_bit(bitmap, type->value, 1)) { in __cil_type_to_bitmap() 920 if (ebitmap_set_bit(bitmap, type->value, 1)) { in __cil_type_to_bitmap() 968 if (ebitmap_set_bit(bitmap, user->value, 1)) { in __cil_user_to_bitmap() 1012 if (ebitmap_set_bit(bitmap, role->value, 1)) { in __cil_role_to_bitmap() 1076 if (ebitmap_set_bit(bitmap, (unsigned int)val, 1)) { in __cil_permx_to_bitmap() 1094 if (ebitmap_set_bit(bitmap, value, 1)) { in __cil_perm_to_bitmap() 1163 if (ebitmap_set_bit(bitmap, cat->value, 1)) { in __cil_cat_to_bitmap() 1172 if (ebitmap_set_bit(bitmap, cat->value, 1)) { in __cil_cat_to_bitmap() 1179 if (ebitmap_set_bit(bitmap, cat->value, 1)) { in __cil_cat_to_bitmap() 1622 if (ebitmap_set_bit(role->types, type->value, 1)) { in __cil_role_assign_types() [all …]
|
H A D | cil_deny.c | 590 rc = ebitmap_set_bit(&e, t->value, 1); in cil_datum_not() 630 rc = ebitmap_set_bit(result, t1->value, 1); in cil_datums_and() 641 rc = ebitmap_set_bit(result, t2->value, 1); in cil_datums_and() 652 rc = ebitmap_set_bit(result, t1->value, 1); in cil_datums_and() 684 rc = ebitmap_set_bit(result, t1->value, 1); in cil_datums_andnot() 697 rc = ebitmap_set_bit(result, t2->value, 0); in cil_datums_andnot() 707 rc = ebitmap_set_bit(result, t1->value, 1); in cil_datums_andnot()
|
H A D | cil_binary.c | 161 if (ebitmap_set_bit(new, user->value, 1)) { in __cil_expand_user() 187 if (ebitmap_set_bit(new, role->value, 1)) { in __cil_expand_role() 213 if (ebitmap_set_bit(new, type->value, 1)) { in __cil_expand_type() 385 if (ebitmap_set_bit(&sepol_role->dominates, value - 1, 1)) { in cil_role_to_policydb() 440 if (ebitmap_set_bit(&sepol_role->types.types, sepol_type->s.value - 1, 1)) { in cil_roletype_to_policydb() 544 if (ebitmap_set_bit(&pdb->permissive_map, sepol_type->s.value, 1)) { in cil_typepermissive_to_policydb() 602 if (ebitmap_set_bit(&pdb->type_attr_map[i], i, 1)) { in __cil_typeattr_bitmap_init() 607 if (ebitmap_set_bit(&pdb->attr_type_map[i], i, 1)) { in __cil_typeattr_bitmap_init() 649 ebitmap_set_bit(&pdb->type_attr_map[sepol_type->s.value - 1], value - 1, 1); in cil_typeattribute_to_bitmap() 650 ebitmap_set_bit(&pdb->attr_type_map[value - 1], sepol_type->s.value - 1, 1); in cil_typeattribute_to_bitmap() [all …]
|
H A D | cil_find.c | 98 rc = ebitmap_set_bit(matches, t1->value, 1); in cil_type_matches() 104 rc = ebitmap_set_bit(matches, t->value, 1); in cil_type_matches() 110 rc = ebitmap_set_bit(matches, t->value, 1); in cil_type_matches()
|
H A D | cil.c | 1576 rc = ebitmap_set_bit(cats_ebitmap, cat->value, 1); in cil_cats_to_ebitmap() 1583 rc = ebitmap_set_bit(cats_ebitmap, cat->value, 1); in cil_cats_to_ebitmap()
|
/aosp_15_r20/external/selinux/checkpolicy/ |
H A D | policy_define.c | 282 if (ebitmap_set_bit(&policydbp->policycaps, capnum, TRUE)) { in define_polcap() 364 if (ebitmap_set_bit(e_classes, cladatum->s.value - 1, TRUE)) { in read_classes() 1146 if (ebitmap_set_bit(&levdatum->level->cat, i, TRUE)) { in define_level() 1216 if (ebitmap_set_bit(&attrs, attr->s.value - 1, TRUE)) { in expand_attrib() 1408 if (ebitmap_set_bit(&attr->types, (t->s.value - 1), TRUE)) { in define_typeattribute() 1573 if (ebitmap_set_bit(&attr->types, datum->s.value - 1, TRUE)) { in define_type() 1637 if (ebitmap_set_bit(&set->negset, t->s.value - 1, TRUE)) in set_types() 1640 if (ebitmap_set_bit(&set->types, t->s.value - 1, TRUE)) in set_types() 2936 if (ebitmap_set_bit(&attr->roles, (r->s.value - 1), TRUE)) { in define_role_attr() 3001 if (ebitmap_set_bit(&attr->roles, (r->s.value - 1), TRUE)) { in define_roleattribute() [all …]
|
H A D | module_compiler.c | 202 if (ebitmap_set_bit(decl->declared.scope + symbol_type, in declare_symbol() 374 ret2 = ebitmap_set_bit(&dest_role->dominates, dest_role->s.value - 1, 1); in declare_role() 725 if (ebitmap_set_bit(decl->required.scope + symbol_type, in require_symbol() 755 if (ebitmap_set_bit(scope->class_perms_map + class_value - 1, in add_perm_to_class() 910 ret = ebitmap_set_bit(&role->dominates, role->s.value - 1, 1); in require_role_or_attribute()
|
/aosp_15_r20/external/selinux/libsepol/include/sepol/policydb/ |
H A D | ebitmap.h | 96 extern int ebitmap_set_bit(ebitmap_t * e, unsigned int bit, int value);
|
/aosp_15_r20/system/sepolicy/tools/ |
H A D | checkfc.c | 100 int err = ebitmap_set_bit(assertions, bit_pos, 1); in ebitmap_attribute_assertion_init()
|
/aosp_15_r20/packages/modules/Virtualization/guest/kernel/android15-6.6/arm64/ |
D | System.map | 13340 ffffffc0803df8e4 T ebitmap_set_bit
|
/aosp_15_r20/packages/modules/Virtualization/guest/kernel/android15-6.6/arm64/16k/ |
D | System.map | 13327 ffffc000803def3c T ebitmap_set_bit
|
/aosp_15_r20/packages/modules/Virtualization/guest/kernel/android15-6.6/x86_64/ |
D | System.map | 32170 ffffffff814a9520 T ebitmap_set_bit
|
/aosp_15_r20/device/google/bluejay-kernels/6.1/25Q1-12919773/ |
D | System.map | 21870 ffffffc008609d7c T ebitmap_set_bit
|