/external/libsepol/src/ |
util.c | 95 if (!rc && cladatum->comdatum) { 96 rc = hashtab_map(cladatum->comdatum->
|
avrule_block.c | 190 if (perm == NULL && cladatum->comdatum != 0) { 194 hashtab_search(cladatum->comdatum->permissions.table,
|
services.c | 1121 if (tclass_datum->comdatum == NULL) 1125 hashtab_search(tclass_datum->comdatum->permissions.table, [all...] |
policydb.c | 830 common_datum_t *comdatum; local 832 comdatum = (common_datum_t *) datum; 834 if (!comdatum->s.value || comdatum->s.value > p->p_commons.nprim) 836 p->p_common_val_to_name[comdatum->s.value - 1] = (char *)key; 1114 common_datum_t *comdatum; local 1118 comdatum = (common_datum_t *) datum; 1119 (void)hashtab_map(comdatum->permissions.table, perm_destroy, 0); 1120 hashtab_destroy(comdatum->permissions.table); 1921 common_datum_t *comdatum; local [all...] |
write.c | 833 common_datum_t *comdatum; local 839 comdatum = (common_datum_t *) datum; 844 buf[items++] = cpu_to_le32(comdatum->s.value); 845 buf[items++] = cpu_to_le32(comdatum->permissions.nprim); 846 buf[items++] = cpu_to_le32(comdatum->permissions.table->nel); 855 if (hashtab_map(comdatum->permissions.table, perm_write, pd)) [all...] |
link.c | 138 if (dest_perm == NULL && dest_class->comdatum != NULL) { 140 hashtab_search(dest_class->comdatum->permissions.table, [all...] |
expand.c | 558 new_class->comdatum = 561 if (!new_class->comdatum) { 567 new_class->comdatum->permissions.nprim; [all...] |
/external/checkpolicy/ |
policy_define.c | 453 common_datum_t *comdatum = 0; local 468 comdatum = hashtab_search(policydbp->p_commons.table, id); 469 if (comdatum) { 473 comdatum = (common_datum_t *) malloc(sizeof(common_datum_t)); 474 if (!comdatum) { 478 memset(comdatum, 0, sizeof(common_datum_t)); 480 (hashtab_key_t) id, (hashtab_datum_t) comdatum); 490 comdatum->s.value = policydbp->p_commons.nprim + 1; 491 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) { 503 perdatum->s.value = comdatum->permissions.nprim + 1 547 common_datum_t *comdatum; local [all...] |
checkpolicy.c | 690 if (!cladatum->comdatum && !cladatum->permissions.nprim) { 707 if (!ret && cladatum->comdatum) { 711 comdatum->
|
module_compiler.c | 816 if (!perm && datum->comdatum) 818 hashtab_search(datum->comdatum->permissions.table, [all...] |
/external/libsepol/include/sepol/policydb/ |
policydb.h | 110 common_datum_t *comdatum; /* common datum */ member in struct:class_datum
|