diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-08 17:08:48 +0200 |
---|---|---|
committer | Dinh Nguyen <dinguyen@kernel.org> | 2022-08-15 18:25:32 +0200 |
commit | 2d631bd58fe0ea3e3350212e23c9aba1fb606514 (patch) | |
tree | b94a9773d4de37cce561d676e678d60a97866f41 /arch/nios2/Kconfig | |
parent | nios2: traced syscall does need to check the syscall number (diff) | |
download | linux-2d631bd58fe0ea3e3350212e23c9aba1fb606514.tar.xz linux-2d631bd58fe0ea3e3350212e23c9aba1fb606514.zip |
nios2: fix syscall restart checks
sys_foo() returns -512 (aka -ERESTARTSYS) => do_signal() sees
512 in r2 and 1 in r1.
sys_foo() returns 512 => do_signal() sees 512 in r2 and 0 in r1.
The former is restart-worthy; the latter obviously isn't.
Fixes: b53e906d255d ("nios2: Signal handling support")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'arch/nios2/Kconfig')
0 files changed, 0 insertions, 0 deletions