Home | History | Annotate | Download | only in src

Lines Matching defs:avrule

2484 	avrule_t *avrule;
2497 avrule = (avrule_t *) malloc(sizeof(avrule_t));
2498 if (!avrule)
2501 avrule_init(avrule);
2502 avrule->specified = AVRULE_NEVERALLOW;
2503 avrule->line = source_rule->line;
2504 avrule->flags = source_rule->flags;
2506 if (ebitmap_cpy(&avrule->stypes.types, &stypes))
2509 if (ebitmap_cpy(&avrule->ttypes.types, &ttypes))
2526 if (!avrule->perms)
2527 avrule->perms = new_perm;
2535 /* just prepend the avrule to the first branch; it'll never be
2538 dest_pol->global->branch_list->avrules = avrule;
2540 avrule->next = dest_pol->global->branch_list->avrules;
2541 dest_pol->global->branch_list->avrules = avrule;
2552 ebitmap_destroy(&avrule->stypes.types);
2553 ebitmap_destroy(&avrule->ttypes.types);
2554 cur_perm = avrule->perms;
2560 free(avrule);
2565 * Expands the avrule blocks for a policy. RBAC rules are copied. Neverallow
2643 /* set base top avrule block in case there
2699 * its avrule list to the current decl->avrules list. On the other
2787 * the base passed in should be indexed and avrule blocks should be