Lines Matching refs:new
823 struct audit_krule *new; in audit_dupe_rule() local
831 new = &entry->rule; in audit_dupe_rule()
832 new->flags = old->flags; in audit_dupe_rule()
833 new->pflags = old->pflags; in audit_dupe_rule()
834 new->listnr = old->listnr; in audit_dupe_rule()
835 new->action = old->action; in audit_dupe_rule()
837 new->mask[i] = old->mask[i]; in audit_dupe_rule()
838 new->prio = old->prio; in audit_dupe_rule()
839 new->buflen = old->buflen; in audit_dupe_rule()
840 new->inode_f = old->inode_f; in audit_dupe_rule()
841 new->field_count = old->field_count; in audit_dupe_rule()
850 new->tree = old->tree; in audit_dupe_rule()
851 memcpy(new->fields, old->fields, sizeof(struct audit_field) * fcount); in audit_dupe_rule()
856 switch (new->fields[i].type) { in audit_dupe_rule()
867 err = audit_dupe_lsm_field(&new->fields[i], in audit_dupe_rule()
875 new->filterkey = fk; in audit_dupe_rule()
878 err = audit_dupe_exe(new, old); in audit_dupe_rule()
882 if (new->exe) in audit_dupe_rule()
883 audit_remove_mark(new->exe); in audit_dupe_rule()
891 new->watch = old->watch; in audit_dupe_rule()