Re: [PATCH] riscv: return -ENOSYS for syscall -1

2020-12-23 Thread Tycho Andersen
On Wed, Dec 23, 2020 at 06:54:43PM -0800, Palmer Dabbelt wrote: > On Wed, 23 Dec 2020 00:24:04 PST (-0800), Christoph Hellwig wrote: > > On Tue, Dec 22, 2020 at 09:22:19AM -0700, Tycho Andersen wrote: > > > On Mon, Dec 21, 2020 at 11:52:00PM +0100, Andreas Schwab wrote: > > > > Properly return

Re: [PATCH] riscv: return -ENOSYS for syscall -1

2020-12-23 Thread Palmer Dabbelt
On Wed, 23 Dec 2020 00:24:04 PST (-0800), Christoph Hellwig wrote: On Tue, Dec 22, 2020 at 09:22:19AM -0700, Tycho Andersen wrote: On Mon, Dec 21, 2020 at 11:52:00PM +0100, Andreas Schwab wrote: > Properly return -ENOSYS for syscall -1 instead of leaving the return value > uninitialized. This

Re: [PATCH] riscv: return -ENOSYS for syscall -1

2020-12-23 Thread Christoph Hellwig
On Tue, Dec 22, 2020 at 09:22:19AM -0700, Tycho Andersen wrote: > On Mon, Dec 21, 2020 at 11:52:00PM +0100, Andreas Schwab wrote: > > Properly return -ENOSYS for syscall -1 instead of leaving the return value > > uninitialized. This fixes the strace teststuite. > > > > Fixes: 5340627e3fe0

Re: [PATCH] riscv: return -ENOSYS for syscall -1

2020-12-22 Thread Palmer Dabbelt
On Tue, 22 Dec 2020 08:22:19 PST (-0800), tycho@tycho.pizza wrote: On Mon, Dec 21, 2020 at 11:52:00PM +0100, Andreas Schwab wrote: Properly return -ENOSYS for syscall -1 instead of leaving the return value uninitialized. This fixes the strace teststuite. Fixes: 5340627e3fe0 ("riscv: add

Re: [PATCH] riscv: return -ENOSYS for syscall -1

2020-12-22 Thread Tycho Andersen
On Mon, Dec 21, 2020 at 11:52:00PM +0100, Andreas Schwab wrote: > 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") > Signed-off-by: Andreas

[PATCH] riscv: return -ENOSYS for syscall -1

2020-12-21 Thread Andreas Schwab
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") Signed-off-by: Andreas Schwab --- arch/riscv/kernel/entry.S | 9 + 1 file changed, 1