Merge branch 'upstream' of git://git.infradead.org/users/pcmoore/audit
Merge commit. Changes below are compared with the first parent: 59d53737.
Changes
2 files changed · +0 −3
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| include/linux/audit.h | modified | +0 | −1 | View file |
| kernel/auditfilter.c | modified | +0 | −2 | View file |
include/linux/audit.h
View filediff --git a/include/linux/audit.h b/include/linux/audit.h
index af84234..599f3bd 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 pflags;
u32 flags;
u32 listnr;
kernel/auditfilter.c
View filediff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
index 4f68a32..72e1660 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];
@@ -758,7 +757,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->pflags = old->pflags;
new->listnr = old->listnr;