[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 00/11] bsd-user: More file-related system calls
From: |
Warner Losh |
Subject: |
[PATCH v2 00/11] bsd-user: More file-related system calls |
Date: |
Fri, 24 Jun 2022 15:47:31 -0600 |
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(-)
--
2.33.1
- [PATCH v2 00/11] bsd-user: More file-related system calls,
Warner Losh <=
- [PATCH v2 01/11] bsd-user: Implement mount, umount and nmount, Warner Losh, 2022/06/24
- [PATCH v2 03/11] bsd-user: implement chmod, fchmod, lchmod and fchmodat, Warner Losh, 2022/06/24
- [PATCH v2 02/11] bsd-user: Implement symlink, symlinkat, readlink and readlinkat, Warner Losh, 2022/06/24
- [PATCH v2 04/11] bsd-user: Implement freebsd11_mknod, freebsd11_mknodat and mknodat, Warner Losh, 2022/06/24
- [PATCH v2 07/11] bsd-user: Implement chroot and flock, Warner Losh, 2022/06/24
- [PATCH v2 10/11] bsd-user: Implement undelete, Warner Losh, 2022/06/24
- [PATCH v2 08/11] bsd-user: Implement mkfifo and mkfifoat, Warner Losh, 2022/06/24
- [PATCH v2 09/11] bsd-user: Implement pathconf, lpathconf and fpathconf, Warner Losh, 2022/06/24