diff options
author | Andy Lutomirski <[email protected]> | 2016-02-10 14:15:26 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-02-17 09:51:06 +0100 |
commit | 403613432222549727e5d70cf44da8987653202a (patch) | |
tree | cf1ea1a33706d3015e6bb19e7c208309c385020b /net/unix/af_unix.c | |
parent | adcfd23ead69965e3ac3e69f56451dab5e39157a (diff) |
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 <[email protected]>
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/c4040b40b5b4a37ed31375a69b683f753ec6788a.1455142412.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions