kernel: Restrict dmesg output to root.
authorRosen Penev <rosenp@gmail.com>
Fri, 30 Mar 2018 22:18:02 +0000 (15:18 -0700)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Apr 2018 07:01:33 +0000 (09:01 +0200)
commit45219c1c0ff9e896fc626ad3415cf2fe8a3c635d
tree3496ef99b07738c8db7ff76b32539a3492ac4d75
parent3088c2a63dade139ee19ec20f5b12638739d4e79
kernel: Restrict dmesg output to root.

In typical OpenWrt setups, there are no other users that have a shell spawned for them by default.

This can be overriden by the kernel.dmesg_output syssctl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/generic/config-3.18
target/linux/generic/config-4.14
target/linux/generic/config-4.4
target/linux/generic/config-4.9