Lines Matching refs:avrule
2610 avrule_t *avrule; in copy_neverallow() local
2624 avrule = (avrule_t *) malloc(sizeof(avrule_t)); in copy_neverallow()
2625 if (!avrule) in copy_neverallow()
2628 avrule_init(avrule); in copy_neverallow()
2629 avrule->specified = source_rule->specified; in copy_neverallow()
2630 avrule->line = source_rule->line; in copy_neverallow()
2631 avrule->flags = source_rule->flags; in copy_neverallow()
2632 avrule->source_line = source_rule->source_line; in copy_neverallow()
2634 avrule->source_filename = strdup(source_rule->source_filename); in copy_neverallow()
2635 if (!avrule->source_filename) in copy_neverallow()
2639 if (ebitmap_cpy(&avrule->stypes.types, &stypes)) in copy_neverallow()
2642 if (ebitmap_cpy(&avrule->ttypes.types, &ttypes)) in copy_neverallow()
2659 if (!avrule->perms) in copy_neverallow()
2660 avrule->perms = new_perm; in copy_neverallow()
2674 avrule->xperms = xperms; in copy_neverallow()
2680 dest_pol->global->branch_list->avrules = avrule; in copy_neverallow()
2682 avrule->next = dest_pol->global->branch_list->avrules; in copy_neverallow()
2683 dest_pol->global->branch_list->avrules = avrule; in copy_neverallow()
2694 ebitmap_destroy(&avrule->stypes.types); in copy_neverallow()
2695 ebitmap_destroy(&avrule->ttypes.types); in copy_neverallow()
2696 cur_perm = avrule->perms; in copy_neverallow()
2703 free(avrule); in copy_neverallow()