]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 16 Jun 2020 11:44:04 +0000 (13:44 +0200)
commitf3bd35430de5a9a1b10e1ae9c489e0a68a8c850a
treed682f83b0b5c125f7fd1f31f3ee87aa6070157ee
parentbefa40df8bf002946f87fd4f8a396578bf1d23da
s390/ptrace: pass invalid syscall numbers to tracing

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>
arch/s390/kernel/entry.S
arch/s390/kernel/ptrace.c