Lines Matching defs:policydb
8 #include <sepol/policydb/policydb.h>
42 const policydb_t * policydb,
74 if (context_from_record(handle, policydb, &tmp_con,
101 const policydb_t * policydb,
124 if (context_to_record(handle, policydb, con, &tmp_con) < 0)
149 const policydb_t *policydb = &p->p;
151 head = policydb->ocontexts[OCON_PORT];
167 const policydb_t *policydb = &p->p;
178 head = policydb->ocontexts[OCON_PORT];
205 const policydb_t *policydb = &p->p;
216 head = policydb->ocontexts[OCON_PORT];
223 if (port_to_record(handle, policydb, c, response) < 0)
245 policydb_t *policydb = &p->p;
257 if (port_from_record(handle, policydb, &port, data) < 0)
261 port->next = policydb->ocontexts[OCON_PORT];
262 policydb->ocontexts[OCON_PORT] = port;
282 const policydb_t *policydb = &p->p;
286 head = policydb->ocontexts[OCON_PORT];
290 if (port_to_record(handle, policydb, c, &port) < 0)