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

Ricardo Ribalda ribalda at chromium.org
Mon Nov 14 05:18:37 PST 2022


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



More information about the kexec mailing list