Re: [PATCH v1 21/32] liveupdate: add selftests for subsystems un/registration

From: Randy Dunlap
Date: Wed Jun 25 2025 - 20:07:07 EST




On 6/25/25 4:18 PM, Pasha Tatashin wrote:
> diff --git a/kernel/liveupdate/Kconfig b/kernel/liveupdate/Kconfig
> index 75a17ca8a592..db7bbff3edec 100644
> --- a/kernel/liveupdate/Kconfig
> +++ b/kernel/liveupdate/Kconfig
> @@ -47,6 +47,21 @@ config LIVEUPDATE_SYSFS_API
>
> If unsure, say N.
>
> +config LIVEUPDATE_SELFTESTS
> + bool "Live Update Orchestrator - self tests"

self-tests"

as below...

> + depends on LIVEUPDATE
> + help
> +   Say Y here to build self-tests for the LUO framework. When enabled,
> + these tests can be initiated via the ioctl interface to help verify
> + the core live update functionality.
> +
> +   This option is primarily intended for developers working on the
> +   live update feature or for validation purposes during system
> +   integration.
> +
> +   If you are unsure or are building a production kernel where size
> +   or attack surface is a concern, say N.

--
~Randy