[PULL 00/11] Bsd user syscall 2022q2b patches

Warner Losh posted 11 patches 3 years, 7 months ago
Failed in applying to current master (apply log)
Maintainers: Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>
bsd-user/bsd-file.h           | 392 +++++++++++++++++++++++++++++++++-
bsd-user/freebsd/os-syscall.c | 118 ++++++++++
2 files changed, 509 insertions(+), 1 deletion(-)
[PULL 00/11] Bsd user syscall 2022q2b patches
Posted by Warner Losh 3 years, 7 months ago
The following changes since commit d495e432c04a6394126c35cf96517749708b410f:

  Merge tag 'pull-aspeed-20220630' of https://github.com/legoater/qemu into staging (2022-06-30 22:04:12 +0530)

are available in the Git repository at:

  ssh://git@github.com/qemu-bsd-user/qemu-bsd-user.git tags/bsd-user-syscall-2022q2b-pull-request

for you to fetch changes up to 3f1b0235f68ff74ebfd98b17626e4254c4345fa8:

  bsd-user: Remove stray 'inline' from do_bsd_close (2022-07-02 07:52:48 -0600)

----------------------------------------------------------------
bsd-user: More file-related system calls

A second round of mostly BSD-independent filesystem calls: mount, unmount,
nmount, symlink, symlinkat, readlink, readlinkat, chmod, fchmod, lchmod,
fchmodat, freebsd11_mknod, freebsd11_monodat, mknodat, chown, fchown, lchown,
fchownat, chflags, lchflags, fchflags, chroot, flock, mkfifo, mkfifoat,
pathconf, lpathconf, fpathconf, undelete.

These are all non-reentrant system calls, so these wrappers are pretty simple
and no safe_* versions need to be created.

----------------------------------------------------------------

Warner Losh (11):
  bsd-user: Implement mount, umount and nmount
  bsd-user: Implement symlink, symlinkat, readlink and readlinkat
  bsd-user: implement chmod, fchmod, lchmod and fchmodat
  bsd-user: Implement freebsd11_mknod, freebsd11_mknodat and mknodat
  bsd-user: Implement chown, fchown, lchown and fchownat
  bsd-user: Implement chflags, lchflags and fchflags
  bsd-user: Implement chroot and flock
  bsd-user: Implement mkfifo and mkfifoat
  bsd-user: Implement pathconf, lpathconf and fpathconf
  bsd-user: Implement undelete
  bsd-user: Remove stray 'inline' from do_bsd_close

 bsd-user/bsd-file.h           | 392 +++++++++++++++++++++++++++++++++-
 bsd-user/freebsd/os-syscall.c | 118 ++++++++++
 2 files changed, 509 insertions(+), 1 deletion(-)

-- 
2.33.1
Re: [PULL 00/11] Bsd user syscall 2022q2b patches
Posted by Richard Henderson 3 years, 7 months ago
On 7/2/22 19:26, Warner Losh wrote:
> The following changes since commit d495e432c04a6394126c35cf96517749708b410f:
> 
>    Merge tag 'pull-aspeed-20220630' of https://github.com/legoater/qemu into staging (2022-06-30 22:04:12 +0530)
> 
> are available in the Git repository at:
> 
>    ssh://git@github.com/qemu-bsd-user/qemu-bsd-user.git tags/bsd-user-syscall-2022q2b-pull-request
> 
> for you to fetch changes up to 3f1b0235f68ff74ebfd98b17626e4254c4345fa8:
> 
>    bsd-user: Remove stray 'inline' from do_bsd_close (2022-07-02 07:52:48 -0600)
> 
> ----------------------------------------------------------------
> bsd-user: More file-related system calls
> 
> A second round of mostly BSD-independent filesystem calls: mount, unmount,
> nmount, symlink, symlinkat, readlink, readlinkat, chmod, fchmod, lchmod,
> fchmodat, freebsd11_mknod, freebsd11_monodat, mknodat, chown, fchown, lchown,
> fchownat, chflags, lchflags, fchflags, chroot, flock, mkfifo, mkfifoat,
> pathconf, lpathconf, fpathconf, undelete.
> 
> These are all non-reentrant system calls, so these wrappers are pretty simple
> and no safe_* versions need to be created.

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/7.1 as appropriate.


r~

> 
> ----------------------------------------------------------------
> 
> Warner Losh (11):
>    bsd-user: Implement mount, umount and nmount
>    bsd-user: Implement symlink, symlinkat, readlink and readlinkat
>    bsd-user: implement chmod, fchmod, lchmod and fchmodat
>    bsd-user: Implement freebsd11_mknod, freebsd11_mknodat and mknodat
>    bsd-user: Implement chown, fchown, lchown and fchownat
>    bsd-user: Implement chflags, lchflags and fchflags
>    bsd-user: Implement chroot and flock
>    bsd-user: Implement mkfifo and mkfifoat
>    bsd-user: Implement pathconf, lpathconf and fpathconf
>    bsd-user: Implement undelete
>    bsd-user: Remove stray 'inline' from do_bsd_close
> 
>   bsd-user/bsd-file.h           | 392 +++++++++++++++++++++++++++++++++-
>   bsd-user/freebsd/os-syscall.c | 118 ++++++++++
>   2 files changed, 509 insertions(+), 1 deletion(-)
>