Skip to content

bsd-user: More file-related system calls

Warner Losh qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 3 repliesIn review
  2. v110 patches 12 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11bsd-user: Implement mount, umount and nmountbsd-user/bsd-file.h bsd-user/freebsd/os-syscall.c+65 -00 replies
2/11bsd-user: Implement symlink, symlinkat, readlink and readlinkatbsd-user/bsd-file.h bsd-user/freebsd/os-syscall.c+90 -01 reply
3/11bsd-user: implement chmod, fchmod, lchmod and fchmodatbsd-user/bsd-file.h bsd-user/freebsd/os-syscall.c+62 -00 replies
4/11bsd-user: Implement freebsd11_mknod, freebsd11_mknodat and mknodatbsd-user/bsd-file.h bsd-user/freebsd/os-syscall.c+60 -01 reply
5/11bsd-user: Implement chown, fchown, lchown and fchownatbsd-user/bsd-file.h bsd-user/freebsd/os-syscall.c+64 -00 replies
6/11bsd-user: Implement chflags, lchflags and fchflagsbsd-user/bsd-file.h bsd-user/freebsd/os-syscall.c+44 -00 replies
7/11bsd-user: Implement chroot and flockbsd-user/bsd-file.h bsd-user/freebsd/os-syscall.c+27 -00 replies
8/11bsd-user: Implement mkfifo and mkfifoatbsd-user/bsd-file.h bsd-user/freebsd/os-syscall.c+35 -00 replies
9/11bsd-user: Implement pathconf, lpathconf and fpathconfbsd-user/bsd-file.h bsd-user/freebsd/os-syscall.c+44 -00 replies
10/11bsd-user: Implement undeletebsd-user/bsd-file.h bsd-user/freebsd/os-syscall.c+17 -00 replies
11/11bsd-user: Remove stray 'inline' from do_bsd_closebsd-user/bsd-file.h+1 -11 reply

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/11] 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.

In addition, a small correction to an earlier series is included.

V2: Updated with review comments.
Reworked freebsd11_mknod* stuff after unifdef BSD_HAVE_INO64 Fixed comments that had too many words
Added one more hunk to remove a stary 'inline' that slipped through earlier

Need reviews on:
bsd-user: Implement symlink, symlinkat, readlink and readlinkat
bsd-user: Implement freebsd11_mknod, freebsd11_mknodat and mknodat
bsd-user: Remove stray 'inline' from do_bsd_close

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(-)
Signature · 1 line
2.33.1