Re: [PATCH] integrity: Eliminate weak definition of arch_get_secureboot()

From
Mimi Zohar <zohar@linux.ibm.com>
Date
2026-03-13 15:41:01
Also in
linux-integrity, linux-s390, linux-security-module, lkml, llvm
Reply to
Nathan Chancellor, 2026-03-12
On Thu, 2026-03-12 at 13:55 -0700, Nathan Chancellor wrote:
On Thu, Mar 12, 2026 at 12:07:41PM -0400, Mimi Zohar wrote:
quoted
I pushed out the patch to next-integrity, but am a bit concerned about the
definition:

+config HAVE_ARCH_GET_SECUREBOOT
+       def_bool EFI
+
What is concerning about the definition with regards to s390?
quoted
Has anyone actually tested this patch on s390, not just compiled it?  If so, I'd
appreciate a tested-by tag.
It would be good to test (if it is possible to test in QEMU, I am happy
to attempt to do so). As far as I can tell, 31a6a07eefeb placed
arch_get_secureboot() in such a way that the __weak definition would be
used when CONFIG_KEXEC_FILE was disabled, even though ipl_secure_flag
should always be available, which this patch avoids.
Thanks, Nathan.  Fortunately I got access to an s390 and was able to test.  It
seems to be working.

Mimi
Thread (5 messages) 5 messages, 3 authors, last reply 2026-03-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help