Re: [PATCH v5 08/17] common-user: Adjust system call return on FreeBSD

2021-11-17 Thread Warner Losh
On Wed, Nov 17, 2021 at 9:04 AM Richard Henderson < richard.hender...@linaro.org> wrote: > From: Warner Losh > > FreeBSD system calls return positive errno. On the 4 hosts for > which we have support, error is indicated by the C bit set or clear. > > Signed-off-by: Warner Losh > [rth: Rebase

[PATCH v5 08/17] common-user: Adjust system call return on FreeBSD

2021-11-17 Thread Richard Henderson
From: Warner Losh FreeBSD system calls return positive errno. On the 4 hosts for which we have support, error is indicated by the C bit set or clear. Signed-off-by: Warner Losh [rth: Rebase on new safe_syscall_base api; add #error check.] Signed-off-by: Richard Henderson ---