Lines Matching defs:policydb
7 #include <sepol/policydb/policydb.h>
13 const policydb_t * policydb,
30 if (context_from_record(handle, policydb,
39 if (context_from_record(handle, policydb,
67 const policydb_t * policydb,
84 if (context_to_record(handle, policydb, ifcon, &tmp_con) < 0)
91 if (context_to_record(handle, policydb, msgcon, &tmp_con) < 0)
114 const policydb_t *policydb = &p->p;
120 head = policydb->ocontexts[OCON_NETIF];
139 const policydb_t *policydb = &p->p;
145 head = policydb->ocontexts[OCON_NETIF];
149 if (iface_to_record(handle, policydb, c, response) < 0)
171 policydb_t *policydb = &p->p;
177 if (iface_from_record(handle, policydb, &iface, data) < 0)
181 head = policydb->ocontexts[OCON_NETIF];
188 policydb->ocontexts[OCON_NETIF] = iface;
202 iface->next = policydb->ocontexts[OCON_NETIF];
203 policydb->ocontexts[OCON_NETIF] = iface;
225 const policydb_t *policydb = &p->p;
227 head = policydb->ocontexts[OCON_NETIF];
243 const policydb_t *policydb = &p->p;
247 head = policydb->ocontexts[OCON_NETIF];
251 if (iface_to_record(handle, policydb, c, &iface) < 0)