Skip to content

Commit 31708e8

Browse files
committed
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]>
1 parent fdfa17f commit 31708e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testcases/kernel/security/umip/umip_basic_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ static struct tst_test test = {
171171
.forks_child = 1,
172172
.test = verify_umip_instruction,
173173
.needs_kconfigs = (const char *[]){
174-
"CONFIG_X86_INTEL_UMIP=y",
174+
"CONFIG_X86_INTEL_UMIP=y | CONFIG_X86_UMIP=y",
175175
NULL
176176
},
177177
.needs_root = 1,

0 commit comments

Comments
 (0)