Home
last modified time | relevance | path

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

/external/selinux/checkpolicy/
Dmodule_compiler.c743 if (class_value > scope->class_perms_len) { in add_perm_to_class()
751 for (i = scope->class_perms_len; i < class_value; i++) { in add_perm_to_class()
754 scope->class_perms_len = class_value; in add_perm_to_class()
1143 if (class_value > scope->class_perms_len) { in is_perm_in_scope_index()
1382 if (src_scope->class_perms_len > dest_scope->class_perms_len) { in copy_requirements()
1385 src_scope->class_perms_len * in copy_requirements()
1392 for (i = dest_scope->class_perms_len; in copy_requirements()
1393 i < src_scope->class_perms_len; i++) { in copy_requirements()
1396 dest_scope->class_perms_len = in copy_requirements()
1397 src_scope->class_perms_len; in copy_requirements()
[all …]
/external/selinux/libsepol/src/
Davrule_block.c87 for (i = 0; i < scope->class_perms_len; i++) { in scope_index_destroy()
Dlink.c1708 dest->class_perms_len = largest_mapped_class_value; in copy_scope_index()
1709 for (i = 0; i < src->class_perms_len; i++) { in copy_scope_index()
2033 for (i = 0; i < decl->required.class_perms_len; i++) { in is_decl_requires_met()
Dpolicydb.c3732 scope_index->class_perms_len = le32_to_cpu(buf[0]); in scope_index_read()
3733 if (scope_index->class_perms_len == 0) { in scope_index_read()
3738 calloc(scope_index->class_perms_len, in scope_index_read()
3742 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_read()
Dmodule_to_cil.c3608 if (sup->class_perms_len < sub->class_perms_len) { in is_scope_superset()
3612 for (i = 0; i < sub->class_perms_len; i++) { in is_scope_superset()
Dwrite.c1913 buf[0] = cpu_to_le32(scope_index->class_perms_len); in scope_index_write()
1917 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_write()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h443 uint32_t class_perms_len; member
/external/selinux/checkpolicy/test/
Ddismod.c553 if (j < indices->class_perms_len) { in display_scope_index()