[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFxLcTr6AB9p82EQeRJLTkMksUcDNzimdmzVcDKdpR8tXg@mail.gmail.com>
Date: Wed, 15 Jun 2016 15:40:04 -1000
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Ingo Molnar <mingo@...nel.org>, Borislav Petkov <bp@...en8.de>,
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, Jun 14, 2016 at 8:14 AM, Steven Rostedt <rostedt@...dmis.org> wrote:
>>
>> 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.
Possibly we could just say that if a kernel command line option has
been given, that is absolute.
And then a sysctl for when you do *not* explicitly set if on the
kernel command line?
Linus
Powered by blists - more mailing lists