Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dpolicydb_validate.c237 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()
Dpolicydb.c2116 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()
Dexpand.c277 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()
Dlink.c297 (&new_class->permissions, PERM_SYMTAB_SIZE)) { in class_copy_callback()
/third_party/selinux/checkpolicy/
Dmodule_compiler.c804 symtab_init(&datum->permissions, PERM_SYMTAB_SIZE)) { in require_class()
854 if (datum->permissions.nprim >= PERM_SYMTAB_SIZE) { in require_class()
Dpolicy_define.c531 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/
Dpolicydb.h736 #define PERM_SYMTAB_SIZE 32 macro
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c257 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()