2016-07-26 11:24:24 +03:00
|
|
|
It seems, if audit itself is not installed and therefore nothing listens
|
|
|
|
to the messages from the kernel's audit subsystem, the latter spams the
|
|
|
|
kernel log with such messages.
|
|
|
|
|
|
|
|
Let us make them debug-level and thus invisible by default.
|
|
|
|
|
|
|
|
http://bugs.rosalinux.ru/show_bug.cgi?id=6235
|
|
|
|
http://bugs.rosalinux.ru/show_bug.cgi?id=6459
|
|
|
|
|
2020-10-18 13:15:39 +03:00
|
|
|
diff -Naur linux-5.9.orig/kernel/audit.c linux-5.9/kernel/audit.c
|
|
|
|
--- linux-5.9.orig/kernel/audit.c 2020-10-17 12:03:17.445125041 +0300
|
|
|
|
+++ linux-5.9/kernel/audit.c 2020-10-17 12:03:17.455125041 +0300
|
|
|
|
@@ -535,7 +535,7 @@
|
2017-04-02 17:44:19 +03:00
|
|
|
char *data = nlmsg_data(nlh);
|
2016-07-26 11:24:24 +03:00
|
|
|
|
2017-04-02 17:44:19 +03:00
|
|
|
if (nlh->nlmsg_type != AUDIT_EOE && printk_ratelimit())
|
|
|
|
- pr_notice("type=%d %s\n", nlh->nlmsg_type, data);
|
|
|
|
+ pr_debug("type=%d %s\n", nlh->nlmsg_type, data);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|