diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2018-11-15 07:08:59 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2018-11-15 07:08:59 +0100 |
commit | 40e378f1ac91d9508e4f8209a4101af026f1e272 (patch) | |
tree | 86492b31b934f7063fd2247e77bcc97b51236105 /configs/platform-rpi/kernelconfig | |
parent | 10e56b8a7ad6036036904fe60d2bfab6464ff5f7 (diff) | |
download | DistroKit-40e378f1ac91d9508e4f8209a4101af026f1e272.tar.gz DistroKit-40e378f1ac91d9508e4f8209a4101af026f1e272.tar.xz |
platform rpi: lower magic sysrq capabilities
To avoid security issues, only sync (MAGIC_SYSRQ_DEFAULT_ENABLE == 0x10)
is allowed by default. Note: with systemd, another value is always set
at runtime (also 0x10 by default) so the runtime default should be
changed there. Suggested by 'reason' checker.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-rpi/kernelconfig')
-rw-r--r-- | configs/platform-rpi/kernelconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/platform-rpi/kernelconfig b/configs/platform-rpi/kernelconfig index b05b3a7..a095b20 100644 --- a/configs/platform-rpi/kernelconfig +++ b/configs/platform-rpi/kernelconfig @@ -3082,7 +3082,7 @@ CONFIG_SECTION_MISMATCH_WARN_ONLY=y CONFIG_FRAME_POINTER=y # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set CONFIG_MAGIC_SYSRQ=y -CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 +CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x10 CONFIG_MAGIC_SYSRQ_SERIAL=y CONFIG_DEBUG_KERNEL=y |