Home
last modified time | relevance | path

Searched refs:policydb_read (Results 1 – 14 of 14) sorted by relevance

/third_party/selinux/libselinux/src/
Dload_policy.c72 int (*policydb_read)(sepol_policydb_t *, sepol_policy_file_t *) = NULL; in selinux_mkload_policy() local
99 policydb_read = dlsym(libsepolh, "sepol_policydb_read"); in selinux_mkload_policy()
116 policydb_read = sepol_policydb_read; in selinux_mkload_policy()
170 if (policydb_read(policydb, pf)) { in selinux_mkload_policy()
/third_party/selinux/libsepol/src/
Dpolicydb_convert.c22 if (policydb_read(policydb, &pf, 0)) { in policydb_from_image()
81 if (policydb_read(&tmp_policydb, &pf, 0)) { in policydb_to_image()
Dpolicydb_public.c178 return policydb_read(&p->p, &pf->pf, 0); in sepol_policydb_read()
Dmodule.c621 rc = policydb_read(&mod->policy->p, file, verbose); in sepol_module_package_read()
Dservices.c146 if (policydb_read(&mypolicydb, &pf, 0)) { in sepol_set_policydb_from_file()
1803 if (policydb_read(&newpolicydb, fp, 1)) { in sepol_load_policy()
Dpolicydb.c4225 int policydb_read(policydb_t * p, struct policy_file *fp, unsigned verbose) in policydb_read() function
/third_party/selinux/libsepol/fuzz/
Dbinpolicy-fuzzer.c35 if (policydb_read(&policydb, &pf, /*verbose=*/0)) in LLVMFuzzerTestOneInput()
/third_party/selinux/libsepol/tests/
Dtest-downgrade.c220 rc = policydb_read(p, &f, 0); in read_binary_policy()
/third_party/selinux/
Dlibsepol.map20 "policydb_read";
/third_party/selinux/checkpolicy/
Dcheckmodule.c86 if (policydb_read(p, fp, 1)) { in read_binary_policy()
Dcheckpolicy.c566 ret = policydb_read(&policydb, &pf, 1); in main()
/third_party/selinux/checkpolicy/test/
Ddispol.c437 ret = policydb_read(&policydb, &pf, 1); in main()
Ddismod.c767 retval = policydb_read(policy, &f, 1); in read_policy()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h728 extern int policydb_read(policydb_t * p, struct policy_file *fp,