Lines Matching defs:policydb
9 #include <sepol/policydb/hashtab.h>
10 #include <sepol/policydb/policydb.h>
11 #include <sepol/policydb/conditional.h>
15 policydb_t * policydb,
31 hashtab_search(policydb->p_bools.table, name);
55 const policydb_t * policydb,
59 const char *name = policydb->p_bool_val_to_name[bool_idx];
60 cond_bool_datum_t *booldatum = policydb->bool_val_to_struct[bool_idx];
90 policydb_t *policydb = &p->p;
91 if (bool_update(handle, policydb, key, data) < 0)
94 if (evaluate_conds(policydb) < 0) {
110 const policydb_t *policydb = &p->p;
111 *response = policydb->p_bools.nprim;
122 const policydb_t *policydb = &p->p;
135 *response = (hashtab_search(policydb->p_bools.table, name) != NULL);
145 const policydb_t *policydb = &p->p;
156 booldatum = hashtab_search(policydb->p_bools.table, name);
162 if (bool_to_record(handle, policydb,
184 const policydb_t *policydb = &p->p;
185 unsigned int nbools = policydb->p_bools.nprim;
194 if (bool_to_record(handle, policydb, i, &boolean) < 0)