lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260204182816.2463931-1-sashal@kernel.org>
Date: Wed,  4 Feb 2026 13:28:16 -0500
From: Sasha Levin <sashal@...nel.org>
To: pasha.tatashin@...een.com,
	rppt@...nel.org
Cc: pratyush@...nel.org,
	linux-kernel@...r.kernel.org,
	surenb@...gle.com,
	Sasha Levin <sashal@...nel.org>
Subject: [PATCH] kexec: allow KEXEC_HANDOVER to build with COMPILE_TEST

Currently allmodconfig sets CONFIG_DEFERRED_STRUCT_PAGE_INIT which prevents KHO
from building.

Signed-off-by: Sasha Levin <sashal@...nel.org>
---
 kernel/liveupdate/Kconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kernel/liveupdate/Kconfig b/kernel/liveupdate/Kconfig
index d2aeaf13c3acb..355b43492b8a4 100644
--- a/kernel/liveupdate/Kconfig
+++ b/kernel/liveupdate/Kconfig
@@ -1,14 +1,14 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
 menu "Live Update and Kexec HandOver"
-	depends on !DEFERRED_STRUCT_PAGE_INIT
+	depends on !DEFERRED_STRUCT_PAGE_INIT || COMPILE_TEST
 
 config KEXEC_HANDOVER
 	bool "kexec handover"
-	depends on ARCH_SUPPORTS_KEXEC_HANDOVER && ARCH_SUPPORTS_KEXEC_FILE
-	depends on !DEFERRED_STRUCT_PAGE_INIT
+	depends on (ARCH_SUPPORTS_KEXEC_HANDOVER && ARCH_SUPPORTS_KEXEC_FILE) || COMPILE_TEST
+	depends on !DEFERRED_STRUCT_PAGE_INIT || COMPILE_TEST
 	select MEMBLOCK_KHO_SCRATCH
-	select KEXEC_FILE
+	select KEXEC_FILE if ARCH_SUPPORTS_KEXEC_FILE
 	select LIBFDT
 	select CMA
 	help
-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ