linux_dsm_epyc7002/arch/riscv
Andreas Schwab 7c4ced3682 riscv: return -ENOSYS for syscall -1
commit cf7b2ae4d70432fa94ebba3fbaab825481ae7189 upstream.

Properly return -ENOSYS for syscall -1 instead of leaving the return value
uninitialized.  This fixes the strace teststuite.

Fixes: 5340627e3f ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-19 18:27:20 +01:00
..
boot riscv: Fix Kendryte K210 device tree 2020-09-19 13:20:14 -07:00
configs RISC-V: Add EFI stub support. 2020-10-02 14:31:21 -07:00
include riscv: Drop a duplicated PAGE_KERNEL_EXEC 2021-01-19 18:27:20 +01:00
kernel riscv: return -ENOSYS for syscall -1 2021-01-19 18:27:20 +01:00
lib riscv: use memcpy based uaccess for nommu again 2020-10-04 10:27:07 -07:00
mm RISC-V: Fix usage of memblock_enforce_memory_limit 2020-12-30 11:54:13 +01:00
net treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Kbuild
Kconfig RISC-V Patches for the 5.10 Merge Window, Part 2 2020-10-24 10:57:57 -07:00
Kconfig.debug
Kconfig.socs RISC-V: Remove CLINT related code from timer and arch 2020-08-20 10:58:13 -07:00
Makefile Kbuild updates for v5.10 2020-10-22 13:13:57 -07:00