]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sh: bring syscall_set_return_value in line with other architectures
authorMichael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Wed, 22 Jul 2020 23:13:22 +0000 (01:13 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:20 +0000 (22:05 -0400)
commit03dd061f0d203c3479791490d6b9359b2eaf9fec
tree7951b71d800e3034c52ee092f1b825745d6fd156
parent0bb605c2c7f2b4b314b91510810b226de7f34fa1
sh: bring syscall_set_return_value in line with other architectures

Other architectures expect that syscall_set_return_value gets an already
negative value as error. That's also what kernel/seccomp.c provides.

Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/include/asm/syscall_32.h