summaryrefslogtreecommitdiffstats
path: root/kernel/auditfilter.c
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2018-09-13 14:34:06 +0200
committerPetr Mladek <pmladek@suse.com>2018-10-02 15:11:40 +0200
commitf92b070f2dc89a8ff1a0cc8b608e20abef894c7d (patch)
treebdeda51aab833dc77d462e452a5dae05103a237e /kernel/auditfilter.c
parenta06b0c82a049d34d4dc273e8692ed0894458c468 (diff)
printk: Do not miss new messages when replaying the log
The variable "exclusive_console" is used to reply all existing messages on a newly registered console. It is cleared when all messages are out. The problem is that new messages might appear in the meantime. These are then visible only on the exclusive console. The obvious solution is to clear "exclusive_console" after we replay all messages that were already proceed before we started the reply. Reported-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Link: http://lkml.kernel.org/r/20180913123406.14378-1-pmladek@suse.com To: Steven Rostedt <rostedt@goodmis.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> Cc: linux-kernel@vger.kernel.org Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'kernel/auditfilter.c')
0 files changed, 0 insertions, 0 deletions