Home
last modified time | relevance | path

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

/external/selinux/checkpolicy/
Dmodule_compiler.c703 if (class_value > scope->class_perms_len) { in add_perm_to_class()
711 for (i = scope->class_perms_len; i < class_value; i++) { in add_perm_to_class()
714 scope->class_perms_len = class_value; in add_perm_to_class()
1262 if (class_value > scope->class_perms_len) { in is_perm_in_scope_index()
1501 if (src_scope->class_perms_len > dest_scope->class_perms_len) { in copy_requirements()
1504 src_scope->class_perms_len * in copy_requirements()
1511 for (i = dest_scope->class_perms_len; in copy_requirements()
1512 i < src_scope->class_perms_len; i++) { in copy_requirements()
1515 dest_scope->class_perms_len = in copy_requirements()
1516 src_scope->class_perms_len; in copy_requirements()
[all …]
/external/selinux/libsepol/src/
Davrule_block.c86 for (i = 0; i < scope->class_perms_len; i++) { in scope_index_destroy()
Dlink.c1699 dest->class_perms_len = largest_mapped_class_value; in copy_scope_index()
1700 for (i = 0; i < src->class_perms_len; i++) { in copy_scope_index()
2024 for (i = 0; i < decl->required.class_perms_len; i++) { in is_decl_requires_met()
Dpolicydb.c3427 scope_index->class_perms_len = le32_to_cpu(buf[0]); in scope_index_read()
3428 if (scope_index->class_perms_len == 0) { in scope_index_read()
3433 calloc(scope_index->class_perms_len, in scope_index_read()
3437 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_read()
Dmodule_to_cil.c3446 if (sup->class_perms_len < sub->class_perms_len) { in is_scope_superset()
3450 for (i = 0; i < sub->class_perms_len; i++) { in is_scope_superset()
Dwrite.c1780 buf[0] = cpu_to_le32(scope_index->class_perms_len); in scope_index_write()
1784 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_write()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h425 uint32_t class_perms_len; member
/external/selinux/checkpolicy/test/
Ddismod.c528 if (j < indices->class_perms_len) { in display_scope_index()