commit | 03dd061f0d203c3479791490d6b9359b2eaf9fec | [log] [tgz] |
---|---|---|
author | Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de> | Thu Jul 23 01:13:22 2020 +0200 |
committer | Rich Felker <dalias@libc.org> | Fri Aug 14 22:05:20 2020 -0400 |
tree | 7951b71d800e3034c52ee092f1b825745d6fd156 | |
parent | 0bb605c2c7f2b4b314b91510810b226de7f34fa1 [diff] |
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>