diff options
author | Andy Lutomirski <luto@kernel.org> | 2016-02-10 22:15:26 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-02-17 08:51:06 (GMT) |
commit | 403613432222549727e5d70cf44da8987653202a (patch) | |
tree | cf1ea1a33706d3015e6bb19e7c208309c385020b /drivers/net/phy/Kconfig | |
parent | adcfd23ead69965e3ac3e69f56451dab5e39157a (diff) | |
download | linux-403613432222549727e5d70cf44da8987653202a.tar.xz |
selftests/x86: Add a test for syscall restart under ptrace
This catches a regression from the compat syscall rework. The
32-bit variant of this test currently fails. The issue is that, for
a 32-bit tracer and a 32-bit tracee, GETREGS+SETREGS with no changes
should be a no-op. It currently isn't a no-op if RAX indicates
signal restart, because the high bits get cleared and the kernel
loses track of the restart state.
Reported-by: Robert O'Callahan <robert@ocallahan.org>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/c4040b40b5b4a37ed31375a69b683f753ec6788a.1455142412.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/net/phy/Kconfig')
0 files changed, 0 insertions, 0 deletions