Re: [PATCH 01/11] bsd-user: Implement open, openat and close

2022-06-13 Thread Richard Henderson
On 6/12/22 13:48, Warner Losh wrote: +static inline abi_long do_bsd_close(abi_long arg1) +{ + Watch the extra linefeed. Otherwise, Reviewed-by: Richard Henderson r~

[PATCH 01/11] bsd-user: Implement open, openat and close

2022-06-12 Thread Warner Losh
Add the open, openat and close system calls. We need to lock paths, so implmenent that as well. Signed-off-by: Stacey Son Signed-off-by: Jung-uk Kim Signed-off-by: Kyle Evans Signed-off-by: Warner Losh --- bsd-user/bsd-file.h | 50 +++ bsd-user/freebs