diff options
author | Andreas Schwab <schwab@suse.de> | 2020-12-21 23:52:00 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-01-07 18:01:34 -0800 |
commit | cf7b2ae4d70432fa94ebba3fbaab825481ae7189 (patch) | |
tree | d1a0f56d908ed2facbb45e6c70b2a95cd04e5781 /fs/hpfs | |
parent | e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 (diff) |
riscv: return -ENOSYS for syscall -1
Properly return -ENOSYS for syscall -1 instead of leaving the return value
uninitialized. This fixes the strace teststuite.
Fixes: 5340627e3fe0 ("riscv: add support for SECCOMP and SECCOMP_FILTER")
Cc: stable@vger.kernel.org
Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Tycho Andersen <tycho@tycho.pizza>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'fs/hpfs')
0 files changed, 0 insertions, 0 deletions