Home
last modified time | relevance | path

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

/external/checkpolicy/
Dmodule_compiler.c702 if (class_value > scope->class_perms_len) { in add_perm_to_class()
710 for (i = scope->class_perms_len; i < class_value; i++) { in add_perm_to_class()
713 scope->class_perms_len = class_value; in add_perm_to_class()
1261 if (class_value > scope->class_perms_len) { in is_perm_in_scope_index()
1500 if (src_scope->class_perms_len > dest_scope->class_perms_len) { in copy_requirements()
1503 src_scope->class_perms_len * in copy_requirements()
1510 for (i = dest_scope->class_perms_len; in copy_requirements()
1511 i < src_scope->class_perms_len; i++) { in copy_requirements()
1514 dest_scope->class_perms_len = in copy_requirements()
1515 src_scope->class_perms_len; in copy_requirements()
[all …]
/external/libsepol/src/
Davrule_block.c86 for (i = 0; i < scope->class_perms_len; i++) { in scope_index_destroy()
Dlink.c1698 dest->class_perms_len = largest_mapped_class_value; in copy_scope_index()
1699 for (i = 0; i < src->class_perms_len; i++) { in copy_scope_index()
2023 for (i = 0; i < decl->required.class_perms_len; i++) { in is_decl_requires_met()
Dpolicydb.c3388 scope_index->class_perms_len = le32_to_cpu(buf[0]); in scope_index_read()
3389 if (scope_index->class_perms_len == 0) { in scope_index_read()
3394 calloc(scope_index->class_perms_len, in scope_index_read()
3398 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_read()
Dwrite.c1710 buf[0] = cpu_to_le32(scope_index->class_perms_len); in scope_index_write()
1714 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_write()
/external/libsepol/include/sepol/policydb/
Dpolicydb.h401 uint32_t class_perms_len; member
/external/checkpolicy/test/
Ddismod.c528 if (j < indices->class_perms_len) { in display_scope_index()