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:37:04 +0000 (15:37 -0400)
commit64f7b10a91a4177e7d620b545a00c7c86d209770
treefe4ad972e3b2f6e790b0316e475297b37bd63f6a
parent453cfe187723d5e63003d213742df2d6797e937d
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