From 45219c1c0ff9e896fc626ad3415cf2fe8a3c635d Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 30 Mar 2018 15:18:02 -0700 Subject: 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 --- target/linux/generic/config-4.4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/config-4.4') diff --git a/target/linux/generic/config-4.4 b/target/linux/generic/config-4.4 index 3285000eb4..d29f27d747 100644 --- a/target/linux/generic/config-4.4 +++ b/target/linux/generic/config-4.4 @@ -3423,7 +3423,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 -- cgit v1.2.3