]> git.ipfire.org Git - thirdparty/linux.git/commit
tests/liveupdate: add in-kernel liveupdate test
authorPasha Tatashin <pasha.tatashin@soleen.com>
Thu, 18 Dec 2025 15:57:52 +0000 (10:57 -0500)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 8 Feb 2026 08:13:33 +0000 (00:13 -0800)
commitf653ff7af96951faa69c68665d44bed80702544f
treeb7ca8848efbc857ec9fc59136a82ae9de1faf048
parentcab056f2aae7250af50e503b81a80dfc567a1acd
tests/liveupdate: add in-kernel liveupdate test

Introduce an in-kernel test module to validate the core logic of the Live
Update Orchestrator's File-Lifecycle-Bound feature.  This provides a
low-level, controlled environment to test FLB registration and callback
invocation without requiring userspace interaction or actual kexec
reboots.

The test is enabled by the CONFIG_LIVEUPDATE_TEST Kconfig option.

Link: https://lkml.kernel.org/r/20251218155752.3045808-6-pasha.tatashin@soleen.com
Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Cc: Alexander Graf <graf@amazon.com>
Cc: David Gow <davidgow@google.com>
Cc: David Matlack <dmatlack@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Kees Cook <kees@kernel.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Pratyush Yadav <pratyush@kernel.org>
Cc: Samiullah Khawaja <skhawaja@google.com>
Cc: Tamir Duberstein <tamird@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
MAINTAINERS
include/linux/kho/abi/luo.h
kernel/liveupdate/luo_file.c
kernel/liveupdate/luo_internal.h
lib/Kconfig.debug
lib/tests/Makefile
lib/tests/liveupdate.c [new file with mode: 0644]