[PATCH v1 0/2] kexec: Add new toogle to disable kexec_reboot

Ricardo Ribalda
2022-11-14T13:19:54Z

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@lwn.net>
To: Eric Biederman <ebiederm@xmission.com>
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: kexec@lists.infradead.org
Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ross Zwisler <zwisler@kernel.org>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>

---
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@chromium.org>