We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4ef7de commit a61fa27Copy full SHA for a61fa27
tools/testing/selftests/x86/syscall_nt.c
@@ -59,6 +59,7 @@ static void do_it(unsigned long extraflags)
59
set_eflags(get_eflags() | extraflags);
60
syscall(SYS_getpid);
61
flags = get_eflags();
62
+ set_eflags(X86_EFLAGS_IF | X86_EFLAGS_FIXED);
63
if ((flags & extraflags) == extraflags) {
64
printf("[OK]\tThe syscall worked and flags are still set\n");
65
} else {
0 commit comments