[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160614141456.6876b069@grimm.local.home>
Date: Tue, 14 Jun 2016 14:14:56 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Ingo Molnar <mingo@...nel.org>
Cc: Borislav Petkov <bp@...en8.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] printk: Add kernel parameter to control writes to
/dev/kmsg
On Tue, 14 Jun 2016 12:21:35 +0200
Ingo Molnar <mingo@...nel.org> wrote:
> * Borislav Petkov <bp@...en8.de> wrote:
>
> > From: Borislav Petkov <bp@...e.de>
> >
> > Add a "printk.kmsg" kernel command line parameter which controls how
> > userspace writes into /dev/kmsg. It has two options:
> >
> > * on - unlimited logging from userspace
> > * off - logging from userspace gets ignored
>
> Please also add a sysctl!
>
> I *so* want to enable this on distro kernels without having to reboot the
> kernel...
>
But can we make it a one way feature (or a kernel parameter to do so?)
that will prevent userspace from enabling it after it's been disabled.
-- Steve
Powered by blists - more mailing lists