]> git.itanic.dy.fi Git - linux-stable/commit
selftests/x86/syscall_nt: Clear weird flags after each test
authorAndy Lutomirski <luto@kernel.org>
Fri, 26 Jun 2020 17:21:15 +0000 (10:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Oct 2020 11:18:10 +0000 (13:18 +0200)
commiteb7833e0ee0118100fbcbffb84a449eec5baf039
tree661457d2d003381b31c980318911a280cb063f42
parent7292e6e9d82c345f31c3286c59c0d8db9117c8e2
selftests/x86/syscall_nt: Clear weird flags after each test

[ Upstream commit a61fa2799ef9bf6c4f54cf7295036577cececc72 ]

Clear the weird flags before logging to improve strace output --
logging results while, say, TF is set does no one any favors.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/907bfa5a42d4475b8245e18b67a04b13ca51ffdb.1593191971.git.luto@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/x86/syscall_nt.c