s390/ptrace: pass invalid syscall numbers to tracing
authorSven Schnelle <svens@linux.ibm.com>
Fri, 6 Mar 2020 12:19:34 +0000 (13:19 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 30 Jun 2020 19:36:16 +0000 (15:36 -0400)
commit2b0111cf8ce035f9e292aeb31ec89cd6a3d88f4c
tree2f0801f6d848bda2d2abb9dfe6f31489e98fffdc
parent285d495c94e62d4afffad2452e726b05912355b2
s390/ptrace: pass invalid syscall numbers to tracing

[ Upstream commit 00332c16b1604242a56289ff2b26e283dbad0812 ]

tracing expects to see invalid syscalls, so pass it through.
The syscall path in entry.S checks the syscall number before
looking up the handler, so it is still safe.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/kernel/entry.S
arch/s390/kernel/ptrace.c