Lines Matching refs:policydb
37 sepol_policydb_t *policydb; member
48 sepol_policydb_free(dbase->policydb); in dbase_policydb_drop_cache()
94 sepol_policydb_t *policydb = NULL; in dbase_policydb_cache() local
107 if (sepol_policydb_create(&policydb) < 0) { in dbase_policydb_cache()
132 if (sepol_policydb_read(policydb, pf) < 0) in dbase_policydb_cache()
145 dbase->policydb = policydb; in dbase_policydb_cache()
152 sepol_policydb_free(policydb); in dbase_policydb_cache()
197 tmp_dbase->policydb = NULL; in dbase_policydb_init()
225 sepol_policydb_t * policydb) in dbase_policydb_attach() argument
230 dbase->policydb = policydb; in dbase_policydb_attach()
247 if (dbase->rptable->add(handle->sepolh, dbase->policydb, key, data) < 0) in dbase_policydb_add()
263 if (dbase->rptable->set(handle->sepolh, dbase->policydb, key, data) < 0) in dbase_policydb_set()
281 dbase->policydb, key, data) < 0) in dbase_policydb_modify()
325 dbase->policydb, key, response) < 0) in dbase_policydb_query()
341 dbase->policydb, key, response) < 0) in dbase_policydb_exists()
357 dbase->policydb, response) < 0) in dbase_policydb_count()
374 dbase->policydb, fn, arg) < 0) in dbase_policydb_iterate()
416 dbase->policydb, &tmp_count) < 0) in dbase_policydb_list()
429 dbase->policydb, list_handler, in dbase_policydb_list()