Re: [PATCH stable v5.4+] s390/ptrace: return -ENOSYS when invalid syscall is supplied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 21, 2021 at 06:58:53PM +0200, Krzysztof Kozlowski wrote:
> From: Sven Schnelle <svens@xxxxxxxxxxxxx>
> 
> commit cd29fa798001075a554b978df3a64e6656c25794 upstream.
> 
> 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@xxxxxxxxxxxxx>
> Signed-off-by: Vasily Gorbik <gor@xxxxxxxxxxxxx>
> Signed-off-by: Dan Streetman <ddstreet@xxxxxxxxxxxxx>
> Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1895132
> [krzysztof: adjusted the backport around missing ifdef CONFIG_SECCOMP,
>  add Link and Fixes; apparently this should go with the referenced commit]
> Fixes: 00332c16b160 ("s390/ptrace: pass invalid syscall numbers to tracing")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>

Thanks for this, now queued up.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux