HomeSort by relevance Sort by last modified time
    Searched refs:policydbp (Results 1 - 8 of 8) sorted by null

  /external/selinux/libsepol/include/sepol/policydb/
util.h 32 extern char *sepol_av_to_string(policydb_t * policydbp, uint32_t tclass,
  /external/selinux/checkpolicy/
parse_util.c 32 extern policydb_t *policydbp;
50 policydbp = p;
policy_define.c 57 policydb_t *policydbp; variable
226 t = hashtab_search(policydbp->p_types.table, type);
271 if (ebitmap_set_bit(&policydbp->policycaps, capnum, TRUE)) {
308 head = policydbp->ocontexts[OCON_ISID];
323 policydbp->ocontexts[OCON_ISID] = newc;
345 cladatum = hashtab_search(policydbp->p_classes.table, id);
375 cladatum = hashtab_search(policydbp->p_classes.table, id);
407 cladatum = hashtab_search(policydbp->p_classes.table, id);
439 cladatum = hashtab_search(policydbp->p_classes.table, id);
471 cladatum = hashtab_search(policydbp->p_classes.table, id)
    [all...]
module_compiler.c 40 extern policydb_t *policydbp;
59 if (policydbp->policy_type != POLICY_MOD) {
74 policydbp->name = id;
75 if ((policydbp->version =
83 if (policydbp->policy_type == POLICY_MOD) {
97 if (push_stack(1, policydbp->global, policydbp->global->branch_list) ==
101 last_block = policydbp->global;
138 retval = symtab_insert(policydbp, symbol_type, key, datum,
142 (symtab_datum_t *) hashtab_search(policydbp-
    [all...]
checkpolicy.c 96 extern policydb_t *policydbp;
297 for (i = 0; i < policydbp->p_bools.nprim; i++) {
298 printf("%s : %d\n", policydbp->p_bool_val_to_name[i],
299 policydbp->bool_val_to_struct[i]->state);
312 policydbp->p_bool_val_to_name[cur->bool - 1]);
343 for (cur = policydbp->cond_list; cur != NULL; cur = cur->next) {
355 bool = hashtab_search(policydbp->p_bools.table, name);
361 evaluate_conds(policydbp);
554 policydbp = &policydb;
557 if (policydbp->mls)
    [all...]
policy_parse.y 56 extern policydb_t *policydbp;
167 { if (pass == 1) { if (policydb_index_classes(policydbp)) return -1; }
168 else if (pass == 2) { if (policydb_index_others(NULL, policydbp, 0)) return -1; }}
170 { if (pass == 1) { if (policydb_index_bools(policydbp)) return -1;}
171 else if (pass == 2) { if (policydb_index_others(NULL, policydbp, 0)) return -1;}}
882 if (policydb_index_others(NULL, policydbp, 0)) return -1;
    [all...]
  /external/selinux/libsepol/src/
util.c 81 char *sepol_av_to_string(policydb_t * policydbp, uint32_t tclass,
92 cladatum = policydbp->class_val_to_struct[tclass - 1];
  /external/selinux/policycoreutils/sepolgen-ifgen/
sepolgen-ifgen-attr-helper.c 56 int render_access_mask(uint32_t av, avtab_key_t *key, policydb_t *policydbp,
66 cladatum = policydbp->class_val_to_struct[tclass - 1];

Completed in 177 milliseconds