public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* [PATCH 1/2] audit: remove vestiges of vers_ops
@ 2014-12-12  5:20 Richard Guy Briggs
  2014-12-12  5:20 ` [PATCH 2/2] audit: restore AUDIT_LOGINUID unset ABI Richard Guy Briggs
  2014-12-12 16:23 ` [PATCH 1/2] audit: remove vestiges of vers_ops Paul Moore
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Guy Briggs @ 2014-12-12  5:20 UTC (permalink / raw)
  To: linux-audit; +Cc: Richard Guy Briggs, eparis, ebiederm

Should have been removed with 18900909.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
---
 include/linux/audit.h |    1 -
 kernel/auditfilter.c  |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/linux/audit.h b/include/linux/audit.h
index 36dffec..eefc39a 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -46,7 +46,6 @@ struct audit_tree;
 struct sk_buff;
 
 struct audit_krule {
-	int			vers_ops;
 	u32			flags;
 	u32			listnr;
 	u32			action;
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
index 40ed981..fb4d2df 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,
 		goto exit_nofree;
 
 	bufp = data->buf;
-	entry->rule.vers_ops = 2;
 	for (i = 0; i < data->field_count; i++) {
 		struct audit_field *f = &entry->rule.fields[i];
 
@@ -762,7 +761,6 @@ struct audit_entry *audit_dupe_rule(struct audit_krule *old)
 		return ERR_PTR(-ENOMEM);
 
 	new = &entry->rule;
-	new->vers_ops = old->vers_ops;
 	new->flags = old->flags;
 	new->listnr = old->listnr;
 	new->action = old->action;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-12-16 23:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12  5:20 [PATCH 1/2] audit: remove vestiges of vers_ops Richard Guy Briggs
2014-12-12  5:20 ` [PATCH 2/2] audit: restore AUDIT_LOGINUID unset ABI Richard Guy Briggs
2014-12-12 16:39   ` Paul Moore
2014-12-12 16:44     ` Richard Guy Briggs
2014-12-12 19:23       ` Paul Moore
2014-12-16 19:20         ` Richard Guy Briggs
2014-12-16 23:21           ` Paul Moore
2014-12-12 16:23 ` [PATCH 1/2] audit: remove vestiges of vers_ops Paul Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox