/external/libsepol/src/ |
assertion.c | 31 const avrule_t * avrule, 36 if (avrule->source_filename) { 38 avrule->source_line, avrule->source_filename, avrule->line, 44 } else if (avrule->line) { 46 avrule->line, p->p_type_val_to_name[stype], 65 const avrule_t * avrule) 72 for (curperm = avrule->perms; curperm != NULL; curperm = curperm->next) { 81 report_failure(handle, p, avrule, stype, ttype, curperm, node) [all...] |
write.c | 1532 avrule_t *avrule; local [all...] |
expand.c | 2632 avrule_t *avrule; local [all...] |
policydb.c | 3003 avrule_t *avrule; local [all...] |
/external/checkpolicy/test/ |
dismod.c | 214 int display_avrule(avrule_t * avrule, policydb_t * policy, 220 if (avrule == NULL) { 224 if (avrule->specified & AVRULE_AV) { 225 if (avrule->specified & AVRULE_ALLOWED) { 228 if (avrule->specified & AVRULE_AUDITALLOW) { 231 if (avrule->specified & AVRULE_DONTAUDIT) { 234 } else if (avrule->specified & AVRULE_TYPE) { 235 if (avrule->specified & AVRULE_TRANSITION) { 238 if (avrule->specified & AVRULE_MEMBER) { 241 if (avrule->specified & AVRULE_CHANGE) 598 avrule_t *avrule; local 623 avrule_t *avrule = decl->avrules; local [all...] |
/external/sepolicy/tools/sepolicy-analyze/ |
neverallow.c | 374 struct avrule *neverallows = NULL, *avrule; local 399 avrule = calloc(1, sizeof *avrule); 400 if (!avrule) 403 avrule->specified = AVRULE_NEVERALLOW; 405 if (read_typeset(policydb, &p, end, &avrule->stypes, &avrule->flags)) 408 if (read_typeset(policydb, &p, end, &avrule->ttypes, &avrule->flags) [all...] |
/external/checkpolicy/ |
module_compiler.h | 82 void append_avrule(avrule_t * avrule); 103 /* Called whenever existing an avrule block. Check that the block had
|
policy_define.c | 1519 avrule_t *avrule; local 1523 avrule = malloc(sizeof(avrule_t)); 1524 if (!avrule) { 1528 avrule_init(avrule); 1529 avrule->specified = which; 1530 avrule->line = policydb_lineno; 1531 avrule->source_line = source_lineno; 1532 avrule->source_filename = strdup(source_file); 1533 if (!avrule->source_filename) { 1539 if (set_types(&avrule->stypes, id, &add, 0) 1597 avrule_t *avrule; local 1621 avrule_t *avrule; local 1736 avrule_t *avrule; local 1875 avrule_t *avrule; local 1895 avrule_t *avrule; local [all...] |
module_compiler.c | 25 avrule_block_t *avrule; member in union:stack_item_u 31 int type; /* for above union: 1 = avrule block, 2 = conditional */ 32 avrule_decl_t *decl; /* if in an avrule block, which 35 int in_else; /* if in an avrule block, within ELSE branch */ 88 /* the first declaration within the global avrule 1347 void append_avrule(avrule_t * avrule) 1359 decl->avrules = avrule; 1361 stack_top->last_avrule->next = avrule; 1363 stack_top->last_avrule = avrule; [all...] |
/external/libsepol/include/sepol/policydb/ |
policydb.h | 242 typedef struct avrule { struct 266 struct avrule *next;
|