mirror of
https://abf.rosa.ru/djam/kernel.git
synced 2025-02-23 16:22:51 +00:00

See the commits 05a8c4904699..16da528365de in https://abf.io/kernels_stable/kernel-4.6. Hightlights: * New build model: everything in a single project. * PAE by default on i586. No non-PAE flavours remain. * SELinux is now built in (disabled by default). * Dropped ndiswrapper (can be built separately if it is really needed).
22 lines
749 B
Diff
22 lines
749 B
Diff
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
|
|
|
|
diff --git a/kernel/audit.c b/kernel/audit.c
|
|
index 1c13e42..56270ce 100644
|
|
--- a/kernel/audit.c
|
|
+++ b/kernel/audit.c
|
|
@@ -396,7 +396,7 @@ static void audit_printk_skb(struct sk_buff *skb)
|
|
|
|
if (nlh->nlmsg_type != AUDIT_EOE) {
|
|
if (printk_ratelimit())
|
|
- pr_notice("type=%d %s\n", nlh->nlmsg_type, data);
|
|
+ pr_debug("type=%d %s\n", nlh->nlmsg_type, data);
|
|
else
|
|
audit_log_lost("printk limit exceeded");
|
|
}
|