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()
1144 if (class_value > scope->class_perms_len) { in is_perm_in_scope_index()
1383 if (src_scope->class_perms_len > dest_scope->class_perms_len) { in copy_requirements()
1386 src_scope->class_perms_len * in copy_requirements()
1393 for (i = dest_scope->class_perms_len; in copy_requirements()
1394 i < src_scope->class_perms_len; i++) { in copy_requirements()
1397 dest_scope->class_perms_len = in copy_requirements()
1398 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.c1689 dest->class_perms_len = largest_mapped_class_value; in copy_scope_index()
1690 for (i = 0; i < src->class_perms_len; i++) { in copy_scope_index()
2009 for (i = 0; i < decl->required.class_perms_len; i++) { in is_decl_requires_met()
Dpolicydb.c3961 scope_index->class_perms_len = le32_to_cpu(buf[0]); in scope_index_read()
3962 if (is_saturated(scope_index->class_perms_len)) in scope_index_read()
3964 if (scope_index->class_perms_len == 0) { in scope_index_read()
3969 calloc(scope_index->class_perms_len, in scope_index_read()
3973 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()
Dpolicydb_validate.c1165 if (scope_index->class_perms_len > flavors[SYM_CLASSES].nprim) in validate_scope_index()
Dwrite.c2031 buf[0] = cpu_to_le32(scope_index->class_perms_len); in scope_index_write()
2035 for (i = 0; i < scope_index->class_perms_len; i++) { in scope_index_write()
/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()