Searched refs:PERM_SYMTAB_SIZE (Results 1 – 8 of 8) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | policydb_validate.c | 237 if (nperms > 0 && nperms != PERM_SYMTAB_SIZE && cons->permissions >= (UINT32_C(1) << nperms)) in validate_constraint_nodes() 351 if (common->permissions.nprim > PERM_SYMTAB_SIZE) in validate_common_datum() 374 if (class->permissions.nprim > PERM_SYMTAB_SIZE) in validate_class_datum()
|
D | policydb.c | 2116 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) in common_read() 2119 if (comdatum->permissions.nprim > PERM_SYMTAB_SIZE) in common_read() 2266 if (symtab_init(&cladatum->permissions, PERM_SYMTAB_SIZE)) in class_read() 2269 if (cladatum->permissions.nprim > PERM_SYMTAB_SIZE) in class_read()
|
D | expand.c | 277 if (symtab_init(&new_common->permissions, PERM_SYMTAB_SIZE)) { in common_copy_callback() 471 if (symtab_init(&new_class->permissions, PERM_SYMTAB_SIZE)) { in class_copy_callback()
|
D | link.c | 297 (&new_class->permissions, PERM_SYMTAB_SIZE)) { in class_copy_callback()
|
/third_party/selinux/checkpolicy/ |
D | module_compiler.c | 804 symtab_init(&datum->permissions, PERM_SYMTAB_SIZE)) { in require_class() 854 if (datum->permissions.nprim >= PERM_SYMTAB_SIZE) { in require_class()
|
D | policy_define.c | 531 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) { in define_common_perms() 614 if (symtab_init(&cladatum->permissions, PERM_SYMTAB_SIZE)) { in define_av_perms() 3518 #define PERMISSION_MASK(nprim) ((nprim) == PERM_SYMTAB_SIZE ? (~UINT32_C(0)) : ((UINT32_C(1) << (np…
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 736 #define PERM_SYMTAB_SIZE 32 macro
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 257 rc = symtab_init(&sepol_common->permissions, PERM_SYMTAB_SIZE); in cil_common_to_policydb() 313 rc = symtab_init(&sepol_class->permissions, PERM_SYMTAB_SIZE); in cil_classorder_to_policydb()
|