security/umip_basic_test: Fix config constraints
PATCH 1/1 security/umip_basic_test: Fix config constraints
Since linux-5.5 UMIP kconfig changed from "CONFIG_X86_INTEL_UMIP=y" to "CONFIG_X86_UMIP=y" fix this by accepting either of these two.
Signed-off-by Cyril Hrubis <[email protected]>
Reported-by Pengfei Xu <[email protected]>
--- testcases/kernel/security/umip/umip_basic_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/security/umip/umip_basic_test.c +1 -1
@@ -171,7 +171,7 @@ static struct tst_test test = { .forks_child = 1, .test = verify_umip_instruction, .needs_kconfigs = (const char *[]){ -"CONFIG_X86_INTEL_UMIP=y" , +"CONFIG_X86_INTEL_UMIP=y | CONFIG_X86_UMIP=y" ,NULL }, .needs_root = 1,
Signature · 1 line
2.26.2
PATCH 1/1 security/umip_basic_test: Fix config constraints
Thanks a lot, Cyril!
Quoted 25 lines · Cyril Hrubis
Since linux-5.5 UMIP kconfig changed from "
CONFIG_X86_INTEL_UMIP=y" to "CONFIG_X86_UMIP=y" fix this by accepting either of these two.Signed-off-by Cyril Hrubis <[email protected]>Reported-by Pengfei Xu <[email protected]>--- testcases/kernel/security/umip/umip_basic_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)testcases/kernel/security/umip/umip_basic_test.c +1
-1@@ -171,7 +171,7 @@ static struct tst_test test = { .forks_child = 1, .test = verify_umip_instruction, .needs_kconfigs = (const char *[]){ -"CONFIG_X86_INTEL_UMIP=y" , +"CONFIG_X86_INTEL_UMIP=y | CONFIG_X86_UMIP=y" ,NULL }, .needs_root = 1,Signature · 1 line
2.26.2