diff options
| author | 2020-12-21 23:52:00 +0100 | |
|---|---|---|
| committer | 2021-01-07 18:01:34 -0800 | |
| commit | cf7b2ae4d70432fa94ebba3fbaab825481ae7189 (patch) | |
| tree | d1a0f56d908ed2facbb45e6c70b2a95cd04e5781 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.11-rc2 (diff) | |
| download | linux-dev-cf7b2ae4d70432fa94ebba3fbaab825481ae7189.tar.xz linux-dev-cf7b2ae4d70432fa94ebba3fbaab825481ae7189.zip | |
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 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
