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

From: Ingo Molnar
Date: Tue Jun 14 2016 - 06:21:44 EST



* Borislav Petkov <bp@xxxxxxxxx> wrote:

> From: Borislav Petkov <bp@xxxxxxx>
>
> 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...

Thanks,

Ingo