mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 18:42:55 +00:00
Re-diffed the patch for audit to make it compatible with kernel 4.10.8
This commit is contained in:
parent
909a679596
commit
4795da7f3a
1 changed files with 9 additions and 9 deletions
|
@ -8,15 +8,15 @@ 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
|
||||
index ba4481d..1f19177 100644
|
||||
--- a/kernel/audit.c
|
||||
+++ b/kernel/audit.c
|
||||
@@ -396,7 +396,7 @@ static void audit_printk_skb(struct sk_buff *skb)
|
||||
@@ -490,7 +490,7 @@ static void kauditd_printk_skb(struct sk_buff *skb)
|
||||
char *data = nlmsg_data(nlh);
|
||||
|
||||
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");
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue