s390/ptrace: return -ENOSYS when invalid syscall is supplied
The current code returns the syscall number which an invalid syscall number is supplied and tracing is enabled. This makes the strace testsuite fail. Signed-off-by:Sven Schnelle <svens@linux.ibm.com> Signed-off-by:
Vasily Gorbik <gor@linux.ibm.com>
parent
664f5f8d
Please register or sign in to comment