Kexec lets the system administratior replace the current kernel with a different one. Add a new toggle to limit that replacement to system crashes only. To: Jonathan Corbet <corbet@xxxxxxx> To: Eric Biederman <ebiederm@xxxxxxxxxxxx> Cc: linux-doc@xxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Cc: kexec@xxxxxxxxxxxxxxxxxxx Cc: Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx> Cc: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx> Cc: Ross Zwisler <zwisler@xxxxxxxxxx> Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx> --- Ricardo Ribalda (2): Documentation: sysctl: Correct kexec_load_disabled kexec: Introduce kexec_reboot_disabled Documentation/admin-guide/sysctl/kernel.rst | 18 +++++++++++++++--- include/linux/kexec.h | 1 + kernel/kexec.c | 4 ++++ kernel/kexec_core.c | 13 ++++++++++++- kernel/kexec_file.c | 5 +++++ 5 files changed, 37 insertions(+), 4 deletions(-) --- base-commit: 094226ad94f471a9f19e8f8e7140a09c2625abaa change-id: 20221114-disable-kexec-reset-19b7e117338f Best regards, -- Ricardo Ribalda <ribalda@xxxxxxxxxxxx>