linux-stable/arch/riscv
Andreas Schwab cf7b2ae4d7
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: 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>
2021-01-07 18:01:34 -08:00
..
boot riscv: Ignore Image.* and loader.bin 2020-11-09 11:54:46 -08:00
configs RISC-V: Add EFI stub support. 2020-10-02 14:31:21 -07:00
include local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
kernel riscv: return -ENOSYS for syscall -1 2021-01-07 18:01:34 -08:00
lib riscv: provide memmove implementation 2020-12-10 17:27:54 -08:00
mm RISC-V: Fix usage of memblock_enforce_memory_limit 2020-12-21 21:02:14 -08:00
net treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Kbuild riscv: Allow device trees to be built into the kernel 2020-05-18 11:38:05 -07:00
Kconfig RISC-V Patches for the 5.11 Merge Window, Part 1 2020-12-18 10:43:07 -08:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.socs clk: sifive: Use common name for prci configuration 2020-12-16 12:22:59 -08:00
Makefile riscv: Clean up boot dir 2020-11-09 11:54:45 -08:00