Home
last modified time | relevance | path

Searched refs:class_perms_len (Results 1 – 9 of 9) sorted by relevance

/third_party/selinux/checkpolicy/
Dmodule_compiler.c744 if (class_value > scope->class_perms_len) { in add_perm_to_class()
752 for (i = scope->class_perms_len; i < class_value; i++) { in add_perm_to_class()
755 scope->class_perms_len = class_value; in add_perm_to_class()
1152 if (class_value > scope->class_perms_len) { in is_perm_in_scope_index()
1391 if (src_scope->class_perms_len > dest_scope->class_perms_len) { in copy_requirements()
1394 src_scope->class_perms_len * in copy_requirements()
1401 for (i = dest_scope->class_perms_len; in copy_requirements()
1402 i < src_scope->class_perms_len; i++) { in copy_requirements()
1405 dest_scope->class_perms_len = in copy_requirements()
1406 src_scope->class_perms_len; in copy_requirements()
[all …]
/third_party/selinux/libsepol/src/
Davrule_block.c87 for (i = 0; i < scope->class_perms_len; i++) { in scope_index_destroy()
Dlink.c1646 dest->class_perms_len = largest_mapped_class_value; in copy_scope_index()
1647 for (i = 0; i < src->class_perms_len; i++) { in copy_scope_index()
1963 for (i = 0; i < decl->required.class_perms_len; i++) { in is_decl_requires_met()
Dpolicydb.c3960 scope_index->class_perms_len = le32_to_cpu(buf[0]); in scope_index_read()
3961 if (is_saturated(scope_index->class_perms_len)) in scope_index_read()
3963 if (scope_index->class_perms_len == 0) { in scope_index_read()
3968 calloc(scope_index->class_perms_len, in scope_index_read()
3972 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_read()
Dmodule_to_cil.c3618 if (sup->class_perms_len < sub->class_perms_len) { in is_scope_superset()
3622 for (i = 0; i < sub->class_perms_len; i++) { in is_scope_superset()
Dwrite.c2033 buf[0] = cpu_to_le32(scope_index->class_perms_len); in scope_index_write()
2037 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_write()
Dpolicydb_validate.c1269 if (scope_index->class_perms_len > flavors[SYM_CLASSES].nprim) in validate_scope_index()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h446 uint32_t class_perms_len; member
/third_party/selinux/checkpolicy/test/
Ddismod.c552 if (j < indices->class_perms_len) { in display_scope_index()