Home | History | Annotate | Download | only in sepolicy-analyze

Lines Matching defs:policydb

15     policydb_t *policydb = args;
33 sattr = &policydb->type_attr_map[k->source_type - 1];
34 tattr = &policydb->type_attr_map[k->target_type - 1];
35 stype = policydb->type_val_to_struct[k->source_type - 1];
36 ttype = policydb->type_val_to_struct[k->target_type - 1];
51 stype2 = policydb->type_val_to_struct[avkey.source_type - 1];
52 ttype2 = policydb->type_val_to_struct[avkey.target_type - 1];
56 for (node = avtab_search_node(&policydb->te_avtab, &avkey);
67 display_allow(policydb, k, i, d->data);
68 display_allow(policydb, &node->key, i, node->datum.data);
78 static int find_dups(policydb_t * policydb)
80 if (avtab_map(&policydb->te_avtab, find_dups_helper, policydb))
85 int dups_func (int argc, __attribute__ ((unused)) char **argv, policydb_t *policydb) {
90 return find_dups(policydb);