diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 23:07:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 23:07:47 -0500 |
commit | 7184487f14eb7c2fcf8337bb16c6a63b6db1252e (patch) | |
tree | 95bd179196eb98fa2c31bbcacd782db80be44f3e /kernel | |
parent | 59d53737a8640482995fea13c6e2c0fd016115d6 (diff) | |
parent | 2fded7f44b8fcf79e274c3f0cfbd0298f95308f3 (diff) |
Merge branch 'upstream' of git://git.infradead.org/users/pcmoore/audit
Pull audit fix from Paul Moore:
"Just one patch from the audit tree for v3.20, and a very minor one at
that.
The patch simply removes an old, unused field from the audit_krule
structure, a private audit-only struct. In audit related news, we did
a proper overhaul of the audit pathname code and removed the nasty
getname()/putname() hacks for audit, you should see those patches in
Al's vfs tree if you haven't already.
That's it for audit this time, let's hope for a quiet -rcX series"
* 'upstream' of git://git.infradead.org/users/pcmoore/audit:
audit: remove vestiges of vers_ops
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/auditfilter.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index 4f68a326d92e..72e1660a79a3 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c | |||
@@ -425,7 +425,6 @@ static struct audit_entry *audit_data_to_entry(struct audit_rule_data *data, | |||
425 | goto exit_nofree; | 425 | goto exit_nofree; |
426 | 426 | ||
427 | bufp = data->buf; | 427 | bufp = data->buf; |
428 | entry->rule.vers_ops = 2; | ||
429 | for (i = 0; i < data->field_count; i++) { | 428 | for (i = 0; i < data->field_count; i++) { |
430 | struct audit_field *f = &entry->rule.fields[i]; | 429 | struct audit_field *f = &entry->rule.fields[i]; |
431 | 430 | ||
@@ -758,7 +757,6 @@ struct audit_entry *audit_dupe_rule(struct audit_krule *old) | |||
758 | return ERR_PTR(-ENOMEM); | 757 | return ERR_PTR(-ENOMEM); |
759 | 758 | ||
760 | new = &entry->rule; | 759 | new = &entry->rule; |
761 | new->vers_ops = old->vers_ops; | ||
762 | new->flags = old->flags; | 760 | new->flags = old->flags; |
763 | new->pflags = old->pflags; | 761 | new->pflags = old->pflags; |
764 | new->listnr = old->listnr; | 762 | new->listnr = old->listnr; |