Home
last modified time | relevance | path

Searched refs:symtab_init (Results 1 – 13 of 13) sorted by relevance

/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c165 symtab_init(&sym, cil_sym_sizes[CIL_SYM_ARRAY_BLOCK][CIL_SYM_BLOCKS]); in test_cil_copy_block()
198 symtab_init(&sym, CIL_CLASS_SYM_SIZE); in test_cil_copy_perm()
233 symtab_init(&sym, CIL_CLASS_SYM_SIZE); in test_cil_copy_class()
260 symtab_init(&sym, CIL_CLASS_SYM_SIZE); in test_cil_copy_common()
296 symtab_init(&sym, CIL_CLASS_SYM_SIZE); in test_cil_copy_classcommon()
325 symtab_init(&sym, CIL_TEST_SYM_SIZE); in test_cil_copy_sid()
352 symtab_init(&sym, CIL_TEST_SYM_SIZE); in test_cil_copy_sidcontext()
381 symtab_init(&sym, CIL_TEST_SYM_SIZE); in test_cil_copy_user()
408 symtab_init(&sym, CIL_TEST_SYM_SIZE); in test_cil_copy_role()
435 symtab_init(&sym, CIL_TEST_SYM_SIZE); in test_cil_copy_userrole()
[all …]
DCilTest.c139 rc = symtab_init(&test_new_db->symtab[i], cil_sym_sizes[CIL_SYM_ARRAY_ROOT][i]); in test_symtab_init()
151 int rc = symtab_init(&test_new_db->symtab[0], (uint32_t)SIZE_MAX); in test_symtab_init_no_table_neg()
/third_party/selinux/libsepol/include/sepol/policydb/
Dsymtab.h38 extern int symtab_init(symtab_t *, unsigned int size);
/third_party/selinux/libsepol/src/
Dsymtab.c40 int symtab_init(symtab_t * s, unsigned int size) in symtab_init() function
Davrule_block.c62 if (symtab_init(&decl->symtab[i], symtab_sizes[i])) { in avrule_decl_create()
Dpolicydb.c871 rc = symtab_init(&p->symtab[i], symtab_sizes[i]); in policydb_init()
878 if (symtab_init(&p->scope[i], symtab_sizes[i])) { in policydb_init()
2103 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) in common_read()
2251 if (symtab_init(&cladatum->permissions, 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.c294 if (symtab_init in class_copy_callback()
/third_party/selinux/
Dlibsepol.map64 "symtab_init";
/third_party/selinux/libsepol/cil/src/
Dcil_symtab.c56 int rc = symtab_init(symtab, size); in cil_symtab_init()
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()
/third_party/selinux/checkpolicy/
Dmodule_compiler.c803 symtab_init(&datum->permissions, PERM_SYMTAB_SIZE)) { in require_class()
Dpolicy_define.c532 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) { in define_common_perms()
615 if (symtab_init(&cladatum->permissions, PERM_SYMTAB_SIZE)) { in define_av_perms()