mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 10:32:54 +00:00
22 lines
727 B
Diff
22 lines
727 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 ba4481d..1f19177 100644
|
|
--- a/kernel/audit.c
|
|
+++ b/kernel/audit.c
|
|
@@ -490,7 +490,7 @@ static void kauditd_printk_skb(struct sk_buff *skb)
|
|
char *data = nlmsg_data(nlh);
|
|
|
|
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);
|
|
}
|
|
|
|
/**
|