summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0082-printk-limit-second-loop-of-syslog_print_all.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/0082-printk-limit-second-loop-of-syslog_print_all.patch')
-rw-r--r--debian/patches-rt/0082-printk-limit-second-loop-of-syslog_print_all.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches-rt/0082-printk-limit-second-loop-of-syslog_print_all.patch b/debian/patches-rt/0082-printk-limit-second-loop-of-syslog_print_all.patch
index 41d143e99..2f786f058 100644
--- a/debian/patches-rt/0082-printk-limit-second-loop-of-syslog_print_all.patch
+++ b/debian/patches-rt/0082-printk-limit-second-loop-of-syslog_print_all.patch
@@ -1,8 +1,8 @@
-From 6769883ba30e543644f62ababe6910c6774f1885 Mon Sep 17 00:00:00 2001
+From 931d998e15e62bb8152b147032f4328b4e4d7477 Mon Sep 17 00:00:00 2001
From: John Ogness <john.ogness@linutronix.de>
Date: Wed, 17 Feb 2021 16:15:31 +0100
Subject: [PATCH 082/323] printk: limit second loop of syslog_print_all
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz
The second loop of syslog_print_all() subtracts lengths that were
added in the first loop. With commit b031a684bfd0 ("printk: remove
@@ -23,7 +23,7 @@ Reviewed-by: Petr Mladek <pmladek@suse.com>
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
-index b0a3f7827819..044bb3791896 100644
+index 14b4c3ea1a6b6..92762417a2b2e 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -1497,6 +1497,7 @@ static int syslog_print_all(char __user *buf, int size, bool clear)
@@ -52,5 +52,5 @@ index b0a3f7827819..044bb3791896 100644
len -= get_record_print_text_size(&info, line_count, true, time);
}
--
-2.43.0
+2.44.0