Home
last modified time | relevance | path

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

/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.c174 return policydb_read(&p->p, &pf->pf, 0); in sepol_policydb_read()
Dmodule.c618 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()
1820 if (policydb_read(&newpolicydb, fp, 1)) { in sepol_load_policy()
Dpolicydb.c3948 int policydb_read(policydb_t * p, struct policy_file *fp, unsigned verbose) in policydb_read() function
/external/selinux/libselinux/src/
Dload_policy.c77 int (*policydb_read)(sepol_policydb_t *, sepol_policy_file_t *) = NULL; in selinux_mkload_policy() local
107 policydb_read = dlsym(libsepolh, "sepol_policydb_read"); in selinux_mkload_policy()
131 policydb_read = sepol_policydb_read; in selinux_mkload_policy()
220 if (policydb_read(policydb, pf)) { in selinux_mkload_policy()
/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.c559 ret = policydb_read(&policydb, &pf, 1); in main()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h712 extern int policydb_read(policydb_t * p, struct policy_file *fp,
/external/selinux/checkpolicy/test/
Ddispol.c433 ret = policydb_read(&policydb, &pf, 1); in main()
Ddismod.c766 retval = policydb_read(policy, &f, 1); in read_policy()