Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv: return -ENOSYS for syscall -1
commit cf7b2ae upstream. Properly return -ENOSYS for syscall -1 instead of leaving the return value uninitialized. This fixes the strace teststuite. Fixes: 5340627 ("riscv: add support for SECCOMP and SECCOMP_FILTER") Cc: [email protected] Signed-off-by: Andreas Schwab <[email protected]> Reviewed-by: Tycho Andersen <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information