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


Groups > linux.kernel > #1422206

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

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] printk: Add kernel parameter to control writes to /dev/kmsg
Date 2016-06-14 20:40 +0200
Message-ID <rK1pM-88-25@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 02:14:56PM -0400, Steven Rostedt wrote:
> 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.

You mean to be able to do boot with:

"printk.kmsg=off_and_i_mean_it"

which then disables the sysctl? Are you suspecting insolent userspace
reenabling it?

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

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