/external/libsepol/src/ |
policydb_public.c | 191 return (hashtab_search(p->p.p_classes.table, PACKET_CLASS_NAME) ==
|
avrule_block.c | 185 (class_datum_t *) hashtab_search(p->p_classes.table, class_id);
|
services.c | 835 if (!tclass || tclass > policydb->p_classes.nprim) { 949 if (!tclass || tclass > policydb->p_classes.nprim) { 1106 if (!tclass || tclass > policydb->p_classes.nprim) { [all...] |
expand.c | 519 state->out->p_classes.nprim++; 535 hashtab_insert(state->out->p_classes.table, new_id, 584 new_class = hashtab_search(state->out->p_classes.table, id); [all...] |
link.c | 97 for (i = 0; mod->perm_map != NULL && i < mod->policy->p_classes.nprim; 255 new_class = hashtab_search(state->base->p_classes.table, id); 306 ret = hashtab_insert(state->base->p_classes.table, 315 new_class->s.value = ++(state->base->p_classes.nprim); [all...] |
policydb.c | 850 if (!cladatum->s.value || cladatum->s.value > p->p_classes.nprim) 966 malloc(p->p_classes.nprim * sizeof(class_datum_t *)); 972 malloc(p->p_classes.nprim * sizeof(char *)); 976 if (hashtab_map(p->p_classes.table, class_index, p)) 1047 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); [all...] |
/external/checkpolicy/ |
checkpolicy.c | 670 || tclass > policydb.p_classes.nprim) { 680 p_classes. 786 || tclass > policydb.p_classes.nprim) { 794 p_classes. 981 || tclass > policydb.p_classes.nprim) { 989 p_classes.
|
policy_define.c | 342 cladatum = hashtab_search(policydbp->p_classes.table, id); 372 cladatum = hashtab_search(policydbp->p_classes.table, id); 404 cladatum = hashtab_search(policydbp->p_classes.table, id); 436 cladatum = hashtab_search(policydbp->p_classes.table, id); 468 cladatum = hashtab_search(policydbp->p_classes.table, id); 596 cladatum = (class_datum_t *) hashtab_search(policydbp->p_classes.table, [all...] |
module_compiler.c | 799 hashtab_search(policydbp->p_classes.table, 1297 (class_datum_t *) hashtab_search(policydbp->p_classes.table, [all...] |
/external/sepolicy/tools/ |
sepolicy-check.c | 145 cls = hashtab_search(policy->p_classes.table, c);
|
/external/sepolicy/tools/sepolicy-analyze/ |
neverallow.c | 250 cls = hashtab_search(policydb->p_classes.table, id);
|
/external/libsepol/include/sepol/policydb/ |
policydb.h | 481 #define p_classes symtab[SYM_CLASSES] macro
|