Re: [PATCH 2/2] printk: Add kernel parameter to control writes to /dev/kmsg
From: Borislav Petkov
Date: Tue Jun 14 2016 - 14:30:40 EST
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.