Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dload_policy.c73 int (*policydb_read)(sepol_policydb_t *, sepol_policy_file_t *) = NULL; in hidden_def() local
100 policydb_read = dlsym(libsepolh, "sepol_policydb_read"); in hidden_def()
117 policydb_read = sepol_policydb_read; in hidden_def()
171 if (policydb_read(policydb, pf)) { in hidden_def()
/external/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.c179 return policydb_read(&p->p, &pf->pf, 0); in sepol_policydb_read()
Dmodule.c620 rc = policydb_read(&mod->policy->p, file, verbose); in sepol_module_package_read()
Dservices.c149 if (policydb_read(&mypolicydb, &pf, 0)) { in sepol_set_policydb_from_file()
1816 if (policydb_read(&newpolicydb, fp, 1)) { in sepol_load_policy()
Dpolicydb.c3966 int policydb_read(policydb_t * p, struct policy_file *fp, unsigned verbose) in policydb_read() function
/external/selinux/libsepol/tests/
Dtest-downgrade.c220 rc = policydb_read(p, &f, 0); in read_binary_policy()
/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c175 ret = policydb_read(policydb, &pf, 1); in load_policy()
/external/selinux/checkpolicy/
Dcheckmodule.c89 if (policydb_read(p, fp, 1)) { in read_binary_policy()
Dcheckpolicy.c564 ret = policydb_read(&policydb, &pf, 1); in main()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h715 extern int policydb_read(policydb_t * p, struct policy_file *fp,
/external/selinux/checkpolicy/test/
Ddispol.c429 ret = policydb_read(&policydb, &pf, 1); in main()
Ddismod.c766 retval = policydb_read(policy, &f, 1); in read_policy()