Lines Matching refs:policydb
6 #include <sepol/policydb/policydb.h>
8 /* Construct a policydb from the supplied (data, len) pair */
11 void *data, size_t len, policydb_t * policydb)
22 if (policydb_read(policydb, &pf, 0)) {
23 policydb_destroy(policydb);
32 /* Write a policydb to a memory region, and return the (data, len) pair. */
35 policydb_t * policydb, void **newdata, size_t * newlen)
41 struct policydb tmp_policydb;
47 if (policydb_write(policydb, &pf)) {
66 if (policydb_write(policydb, &pf)) {