Home
last modified time | relevance | path

Searched refs:class_value (Results 1 – 2 of 2) sorted by relevance

/third_party/selinux/checkpolicy/
Dmodule_compiler.c736 int add_perm_to_class(uint32_t perm_value, uint32_t class_value) in add_perm_to_class() argument
742 assert(class_value >= 1); in add_perm_to_class()
744 if (class_value > scope->class_perms_len) { in add_perm_to_class()
747 class_value * sizeof(*new_map)); 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()
757 if (ebitmap_set_bit(scope->class_perms_map + class_value - 1, in add_perm_to_class()
1149 static int is_perm_in_scope_index(uint32_t perm_value, uint32_t class_value, in is_perm_in_scope_index() argument
1152 if (class_value > scope->class_perms_len) { in is_perm_in_scope_index()
1155 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()
[all …]
Dmodule_compiler.h49 int add_perm_to_class(uint32_t perm_value, uint32_t class_value);