commit 7c9fd0d509ec53182b8ad01e19005e1d774cdfbd
tree 1f4d8ccb1e4d272c82d61df7508e02b72c8e339d
parent 3e8f1bec5503c6e0aa2a153fe106a31cbdbd275b
author Petr Vorel <pvorel@suse.cz> 2026-01-28 13:58:52 +0100
committer Petr Vorel <pvorel@suse.cz> 2026-01-28 21:29:56 +0100

    ima_setup.sh: Fix signed policy requirement check
    
    tst_require_kconfigs() quits testing with tst_brk TCONF, but that first
    hides the explanation in ima_conditionals.sh (which also calls tst_brk
    TCONF) but also quits testing in ima_policy.sh (which calls tst_res
    TCONF). Therefore use tst_check_kconfigs binary instead.
    
    Fixes: c38b528783 ("ima_{conditionals, policy}: Handle policy required to be signed")
    Link: https://lore.kernel.org/ltp/20260128125852.37411-1-pvorel@suse.cz/
    Reported-by: Mimi Zohar <zohar@linux.ibm.com>
    Tested-by: Mimi Zohar <zohar@linux.ibm.com>
    Signed-off-by: Petr Vorel <pvorel@suse.cz>


:100644 100644 df0b8d1532ce42c267a07b85396a2498c7ed9f29 b69d7c31d957d0cdf42fb4f910c9d5e6641bbd63 M	testcases/kernel/security/integrity/ima/tests/ima_setup.sh
