[RFC PATCH 3/3] debug! audit: remove arch_f pointer from struct audit_krule

From: Richard Guy Briggs
Date: Mon Feb 12 2018 - 07:34:15 EST


Signed-off-by: Richard Guy Briggs <rgb@xxxxxxxxxx>
---
kernel/auditfilter.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
index 48dcb59..3938ad2c 100644
--- a/kernel/auditfilter.c
+++ b/kernel/auditfilter.c
@@ -228,6 +228,8 @@ static int audit_match_signal(struct audit_entry *entry)
if (entry->rule.fields[i].type == AUDIT_ARCH) {
arch = &entry->rule.fields[i];
archval = arch->val;
+ pr_info("ams_: i=%d arch_f=%px type=%d op=%d val=%x key=\"%s\"",
+ i, arch, arch->type, arch->op, arch->val, entry->rule.filterkey ?: "");
break;
}

--
1.8.3.1