HomeSort by relevance Sort by last modified time
    Searched defs:avrule (Results 1 - 12 of 12) sorted by null

  /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/selinux/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/selinux/checkpolicy/
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 */
89 /* the first declaration within the global avrule
1348 void append_avrule(avrule_t * avrule)
1360 decl->avrules = avrule;
1362 stack_top->last_avrule->next = avrule;
1364 stack_top->last_avrule = avrule;
    [all...]
policy_define.c 1522 avrule_t *avrule; local
1526 avrule = malloc(sizeof(avrule_t));
1527 if (!avrule) {
1531 avrule_init(avrule);
1532 avrule->specified = which;
1533 avrule->line = policydb_lineno;
1534 avrule->source_line = source_lineno;
1535 avrule->source_filename = strdup(source_file);
1536 if (!avrule->source_filename) {
1542 if (set_types(&avrule->stypes, id, &add, 0)
1600 avrule_t *avrule; local
1624 avrule_t *avrule; local
1947 avrule_t *avrule; local
2268 avrule_t *avrule; local
2352 avrule_t *avrule; local
2492 avrule_t *avrule; local
2512 avrule_t *avrule; local
    [all...]
  /external/selinux/libsepol/cil/src/
cil_policy.c 596 cil_log(CIL_INFO, "Unknown avrule with kind=%d src=%s tgt=%s\n",
1006 struct cil_avrule *avrule = (struct cil_avrule*)current->data; local
1007 rc = cil_avrule_to_policy(file_arr, ALLOWS, avrule);
1009 cil_log(CIL_INFO, "Failed to write avrule to policy\n");
    [all...]
cil_post.c 1550 struct cil_avrule *avrule = node->data; local
    [all...]
cil_verify.c 872 struct cil_avrule *avrule = NULL; local
873 avrule = rule_node->data;
874 if (avrule->rule_kind == CIL_AVRULE_NEVERALLOW) {
    [all...]
  /external/selinux/libsepol/src/
write.c 1597 avrule_t *avrule; local
    [all...]
expand.c 2591 avrule_t *avrule; local
    [all...]
policydb.c 3042 avrule_t *avrule; local
    [all...]
module_to_cil.c 574 log_err("Unknown avrule type: %i", type);
1060 static int avrule_list_to_cil(int indent, struct policydb *pdb, struct avrule *avrule_list, struct list *attr_list)
1063 struct avrule *avrule; local
1072 for (avrule = avrule_list; avrule != NULL; avrule = avrule->next) {
1073 ts = &avrule->stypes;
1079 ts = &avrule->ttypes
    [all...]
  /external/selinux/libsepol/include/sepol/policydb/
policydb.h 250 typedef struct avrule { struct
286 struct avrule *next;

Completed in 1031 milliseconds