/external/libsepol/src/ |
avrule_block.c | 186 (class_datum_t *) hashtab_search(p->p_classes.table, class_id);
|
policydb_public.c | 191 return (hashtab_search(p->p.p_classes.table, PACKET_CLASS_NAME) ==
|
services.c | 322 if (!tclass || tclass > policydb->p_classes.nprim) { 436 if (!tclass || tclass > policydb->p_classes.nprim) { 794 (class_datum_t *) hashtab_search(newp->p_classes.table, key); 1026 (policydb->p_classes.table, validate_class, &newpolicydb)) { [all...] |
link.c | 97 for (i = 0; mod->perm_map != NULL && i < mod->policy->p_classes.nprim; 220 new_class = hashtab_search(state->base->p_classes.table, id); 270 ret = hashtab_insert(state->base->p_classes.table, 278 new_class->s.value = ++(state->base->p_classes.nprim); [all...] |
expand.c | 394 state->out->p_classes.nprim++; 404 hashtab_insert(state->out->p_classes.table, new_id, 453 new_class = hashtab_search(state->out->p_classes.table, id); [all...] |
policydb.c | 785 if (!cladatum->s.value || cladatum->s.value > p->p_classes.nprim) 901 malloc(p->p_classes.nprim * sizeof(class_datum_t *)); 907 malloc(p->p_classes.nprim * sizeof(char *)); 911 if (hashtab_map(p->p_classes.table, class_index, p)) 982 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.
|
module_compiler.c | 799 hashtab_search(policydbp->p_classes.table, 1297 (class_datum_t *) hashtab_search(policydbp->p_classes.table, [all...] |
policy_define.c | 340 cladatum = hashtab_search(policydbp->p_classes.table, id); 466 cladatum = (class_datum_t *) hashtab_search(policydbp->p_classes.table, [all...] |
/external/libsepol/include/sepol/policydb/ |
policydb.h | 464 #define p_classes symtab[SYM_CLASSES] macro
|