On 6/19/22 11:05, Warner Losh wrote:
> The following changes since commit dcb40541ebca7ec98a14d461593b3cd7282b4fac:
>
> Merge tag 'mips-20220611' of https://github.com/philmd/qemu into staging (2022-06-11 21:13:27 -0700)
>
> are available in the Git repository at:
>
> ssh://git@github.com/qemu-bsd-user/qemu-bsd-user.git tags/bsd-user-syscall-2022q2-pull-request
>
> for you to fetch changes up to d35020ed00b1cb649ccd73ba4f5e918a5cc5363a:
>
> bsd-user: Implement acct and sync (2022-06-14 08:17:44 -0600)
>
> ----------------------------------------------------------------
> bsd-user: Next round of syscalls
>
> Implement the next round of system calls. These are open, openat, close,
> fdatasync, fsync, close_from, revoke, access, eacccess, facccessat, chdir,
> fchdir, rename, renameat, mkdir, mkdirat, rmdir, _getcwd, dup, dup2, truncate,
> ftruncate, acct and sync. In addition, the helper functions needed for these to
> work are included. With the helper functions, all of these system calls are the
> 'obvious' wrapper...
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/7.1 as appropriate.
r~
>
> ----------------------------------------------------------------
>
> Warner Losh (11):
> bsd-user: Implement open, openat and close
> bsd-user: Implement fdatasync, fsync and close_from
> bsd-user: Implement revoke, access, eaccess and faccessat
> bsd-user: Implement chdir and fchdir
> bsd-user: Implement rename and renameat
> bsd-user: Implement link, linkat, unlink and unlinkat
> bsd-user: Implement mkdir and mkdirat
> bsd-user: Implement rmdir and undocumented __getcwd
> bsd-user: Implement dup and dup2
> bsd-user: Implement trunctate and ftruncate
> bsd-user: Implement acct and sync
>
> bsd-user/bsd-file.h | 359 ++++++++++++++++++++++++++++++++++
> bsd-user/freebsd/os-syscall.c | 116 +++++++++++
> bsd-user/syscall_defs.h | 4 +
> 3 files changed, 479 insertions(+)
>