Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1423634

Re: [PATCH 2/2] printk: Add kernel parameter to control writes to /dev/kmsg

From Linus Torvalds <torvalds@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] printk: Add kernel parameter to control writes to /dev/kmsg
Date 2016-06-16 03:50 +0200
Message-ID <rKuBr-1S9-11@gated-at.bofh.it> (permalink)
References <rJTBT-3uB-7@gated-at.bofh.it> <rJTBT-3uB-17@gated-at.bofh.it> <rJTLz-3z3-7@gated-at.bofh.it> <rK16q-8sH-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 14, 2016 at 8:14 AM, Steven Rostedt <rostedt@goodmis.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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] printk.kmsg: Ratelimit it by default Borislav Petkov <bp@alien8.de> - 2016-06-14 12:20 +0200
  [PATCH 2/2] printk: Add kernel parameter to control writes to /dev/kmsg Borislav Petkov <bp@alien8.de> - 2016-06-14 12:20 +0200
    Re: [PATCH 2/2] printk: Add kernel parameter to control writes to  /dev/kmsg Ingo Molnar <mingo@kernel.org> - 2016-06-14 12:30 +0200
      Re: [PATCH 2/2] printk: Add kernel parameter to control writes to  /dev/kmsg Steven Rostedt <rostedt@goodmis.org> - 2016-06-14 20:20 +0200
        Re: [PATCH 2/2] printk: Add kernel parameter to control writes to  /dev/kmsg Borislav Petkov <bp@alien8.de> - 2016-06-14 20:40 +0200
        Re: [PATCH 2/2] printk: Add kernel parameter to control writes to /dev/kmsg Linus Torvalds <torvalds@linux-foundation.org> - 2016-06-16 03:50 +0200
          Re: [PATCH 2/2] printk: Add kernel parameter to control writes to  /dev/kmsg Borislav Petkov <bp@alien8.de> - 2016-06-16 12:00 +0200
  Re: [PATCH 0/2] printk.kmsg: Ratelimit it by default Linus Torvalds <torvalds@linux-foundation.org> - 2016-06-16 03:50 +0200

csiph-web