commit d846c53f526cb8b09ba273e472a0d44c85085ec3
tree 9e778c256cdd821fbdaac6a740e76da759b33696
parent 5ec990347b696b6d073de62d8b268cbbb8251834
author Petr Vorel <pvorel@suse.cz> 2026-01-07 16:55:03 +0100
committer Petr Vorel <pvorel@suse.cz> 2026-01-14 17:38:44 +0100

    ima_kexec.sh: Document kernel config dependencies
    
    CONFIG_HAVE_IMA_KEXEC=y is enough for test, ie. test is working with:
    
        # CONFIG_IMA_KEXEC is not set
        CONFIG_HAVE_IMA_KEXEC=y
    
    Probably obvious as CONFIG_HAVE_IMA_KEXEC is arch specific and
    CONFIG_IMA_KEXEC is "TPM PCRs are only reset on a hard reboot."
    and ima_kexec.c requires CONFIG_HAVE_IMA_KEXEC (only parts are skipped
    when CONFIG_IMA_KEXEC not set) but better to clarify for users.
    
    Link: https://lore.kernel.org/ltp/20260107155737.791588-2-pvorel@suse.cz/
    Signed-off-by: Petr Vorel <pvorel@suse.cz>


:100755 100755 958f6e3788002de6df7e2f4fbc688b26d1b4025a 4732df653396f432238dc8e579dcac1e579b553f M	testcases/kernel/security/integrity/ima/tests/ima_kexec.sh
commit 5ec990347b696b6d073de62d8b268cbbb8251834
tree e66ff02e040be76e73a39deb088a214197c5e9f5
parent c3e619b255d66a3dc013a2a9a08d14b8d38f8a2d
author Petr Vorel <pvorel@suse.cz> 2026-01-07 16:33:26 +0100
committer Petr Vorel <pvorel@suse.cz> 2026-01-14 17:38:29 +0100

    ima_kexec.sh: Detect kernel image
    
    Sometimes BOOT_IMAGE contains partition which does not point to /boot
    e.g. BOOT_IMAGE=(hd0,gpt1)/opensuse-tumbleweed/6.18.3-1-default/linux-30afdbce3ab6d0eff8f42b71df1a66f4baf2daf8
    on Tumbleweed aarch64. Therefore detect common kernel image paths.
    
    Link: https://lore.kernel.org/ltp/20260107155737.791588-1-pvorel@suse.cz/
    Signed-off-by: Petr Vorel <pvorel@suse.cz>


:100755 100755 8658ff27fcf4d28e3bdf0c9d0ac9464371c68084 958f6e3788002de6df7e2f4fbc688b26d1b4025a M	testcases/kernel/security/integrity/ima/tests/ima_kexec.sh
