/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,
|
policydb.c | 832 common_datum_t *comdatum; local 834 comdatum = (common_datum_t *) datum; 836 if (!comdatum->s.value || comdatum->s.value > p->p_commons.nprim) 838 p->p_common_val_to_name[comdatum->s.value - 1] = (char *)key; 1116 common_datum_t *comdatum; local 1120 comdatum = (common_datum_t *) datum; 1121 (void)hashtab_map(comdatum->permissions.table, perm_destroy, 0); 1122 hashtab_destroy(comdatum->permissions.table); 1923 common_datum_t *comdatum; local [all...] |
services.c | 1121 if (tclass_datum->comdatum == NULL) 1125 hashtab_search(tclass_datum->comdatum->permissions.table, [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 | 487 common_datum_t *comdatum = 0; local 502 comdatum = hashtab_search(policydbp->p_commons.table, id); 503 if (comdatum) { 507 comdatum = (common_datum_t *) malloc(sizeof(common_datum_t)); 508 if (!comdatum) { 512 memset(comdatum, 0, sizeof(common_datum_t)); 514 (hashtab_key_t) id, (hashtab_datum_t) comdatum); 524 comdatum->s.value = policydbp->p_commons.nprim + 1; 525 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) { 537 perdatum->s.value = comdatum->permissions.nprim + 1 581 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/sepolicy/tools/ |
sepolicy-check.c | 154 if (cls->comdatum == NULL) { 158 perm = hashtab_search(cls->comdatum->permissions.table, p);
|
/external/sepolicy/tools/sepolicy-analyze/ |
neverallow.c | 337 if (cls->comdatum && !perm) 338 perm = hashtab_search(cls->comdatum->permissions.table, id);
|
/external/libsepol/include/sepol/policydb/ |
policydb.h | 110 common_datum_t *comdatum; /* common datum */ member in struct:class_datum
|