diff options
author | Rosen Penev <rosenp@gmail.com> | 2018-03-30 15:18:02 -0700 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-04-30 09:01:33 +0200 |
commit | 45219c1c0ff9e896fc626ad3415cf2fe8a3c635d (patch) | |
tree | 3496ef99b07738c8db7ff76b32539a3492ac4d75 /target/linux/generic/config-4.14 | |
parent | 3088c2a63dade139ee19ec20f5b12638739d4e79 (diff) | |
download | upstream-45219c1c0ff9e896fc626ad3415cf2fe8a3c635d.tar.gz upstream-45219c1c0ff9e896fc626ad3415cf2fe8a3c635d.tar.bz2 upstream-45219c1c0ff9e896fc626ad3415cf2fe8a3c635d.zip |
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>
Diffstat (limited to 'target/linux/generic/config-4.14')
-rw-r--r-- | target/linux/generic/config-4.14 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index c9ee88c751..f6bbc59ee4 100644 --- a/target/linux/generic/config-4.14 +++ b/target/linux/generic/config-4.14 @@ -3998,7 +3998,7 @@ CONFIG_SCSI_PROC_FS=y CONFIG_SECTION_MISMATCH_WARN_ONLY=y # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set -# CONFIG_SECURITY_DMESG_RESTRICT is not set +CONFIG_SECURITY_DMESG_RESTRICT=y CONFIG_SELECT_MEMORY_MODEL=y # CONFIG_SENSORS_ABITUGURU is not set # CONFIG_SENSORS_ABITUGURU3 is not set |