Lines Matching refs:avrule
1616 static int avrule_write(avrule_t * avrule, struct policy_file *fp) in avrule_write() argument
1622 if (avrule->specified & AVRULE_XPERMS) { in avrule_write()
1629 buf[items++] = cpu_to_le32(avrule->specified); in avrule_write()
1630 buf[items++] = cpu_to_le32(avrule->flags); in avrule_write()
1635 if (type_set_write(&avrule->stypes, fp)) in avrule_write()
1638 if (type_set_write(&avrule->ttypes, fp)) in avrule_write()
1641 cur = avrule->perms; in avrule_write()
1652 cur = avrule->perms; in avrule_write()
1670 avrule_t *avrule; in avrule_write_list() local
1672 avrule = avrules; in avrule_write_list()
1674 while (avrule) { in avrule_write_list()
1676 avrule = avrule->next; in avrule_write_list()
1683 avrule = avrules; in avrule_write_list()
1684 while (avrule) { in avrule_write_list()
1685 if (avrule_write(avrule, fp)) in avrule_write_list()
1687 avrule = avrule->next; in avrule_write_list()