diff options
author | Andy Lutomirski <[email protected]> | 2018-03-17 08:25:07 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-03-19 09:06:15 +0100 |
commit | 4b0b37d4cc54b21a6ecad7271cbc850555869c62 (patch) | |
tree | 203a5cc77cd7cf0ecfee2e9d082022050aaed430 /lib/memory-notifier-error-inject.c | |
parent | bb8c13d61a629276a162c1d2b1a20a815cbcfbb7 (diff) |
selftests/x86/ptrace_syscall: Fix for yet more glibc interference
glibc keeps getting cleverer, and my version now turns raise() into
more than one syscall. Since the test relies on ptrace seeing an
exact set of syscalls, this breaks the test. Replace raise(SIGSTOP)
with syscall(SYS_tgkill, ...) to force glibc to get out of our way.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/bc80338b453afa187bc5f895bd8e2c8d6e264da2.1521300271.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions