Skip to content

Commit

Permalink
fix: disable magic sysrq
Browse files Browse the repository at this point in the history
Magic Sysrq should not be enabled by default.

Fixes #645.

Also ran the missing `make kernel-olddefconfig`

Re-created from #646
(cherry picked from commit 4234510)

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
Ulexus authored and frezbo committed Jan 16, 2023
1 parent d33202d commit ccb9d39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions kernel/build/config-amd64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.1.4 Kernel Configuration
# Linux/x86 6.1.5 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y
Expand Down Expand Up @@ -5731,7 +5731,7 @@ CONFIG_OBJTOOL=y
# Generic Kernel Debugging Instruments
#
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x0
CONFIG_MAGIC_SYSRQ_SERIAL=y
CONFIG_MAGIC_SYSRQ_SERIAL_SEQUENCE=""
CONFIG_DEBUG_FS=y
Expand Down
4 changes: 2 additions & 2 deletions kernel/build/config-arm64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 6.1.4 Kernel Configuration
# Linux/arm64 6.1.5 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y
Expand Down Expand Up @@ -8380,7 +8380,7 @@ CONFIG_FRAME_POINTER=y
# Generic Kernel Debugging Instruments
#
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x0
CONFIG_MAGIC_SYSRQ_SERIAL=y
CONFIG_MAGIC_SYSRQ_SERIAL_SEQUENCE=""
CONFIG_DEBUG_FS=y
Expand Down

0 comments on commit ccb9d39

Please sign in to comment.