qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] bsd-user: Next round of syscalls
@ 2022-06-12 20:48 Warner Losh
  2022-06-12 20:48 ` [PATCH 01/11] bsd-user: Implement open, openat and close Warner Losh
                   ` (10 more replies)
  0 siblings, 11 replies; 26+ messages in thread
From: Warner Losh @ 2022-06-12 20:48 UTC (permalink / raw)
  To: qemu-devel
  Cc: jrtc27, Warner Losh, def, arrowd, Kyle Evans, Richard Henderson

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...

I've tried to lump these together with related functions in the same change, all
less than 100 lines per change (most less than 40). This represents a little
over 1/3 of the remaining system calls related to files (we have quite a few
more cagegories to go through). I think the lumping represents a good trade-off
between 'small enough to review' and 'few enough parts to not add too much
overhead' vs 'one commit per system call' which would have bloated this series
to 35 pieces. I hope to do the remaining system calls at this chunk granularity
and maybe twice as many parts to get through the ~15k backlog I still have to go
through.

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           | 369 ++++++++++++++++++++++++++++++++++
 bsd-user/freebsd/os-syscall.c | 116 +++++++++++
 bsd-user/syscall_defs.h       |   4 +
 3 files changed, 489 insertions(+)

-- 
2.33.1



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2022-06-13 23:47 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-12 20:48 [PATCH 00/11] bsd-user: Next round of syscalls Warner Losh
2022-06-12 20:48 ` [PATCH 01/11] bsd-user: Implement open, openat and close Warner Losh
2022-06-13 19:45   ` Richard Henderson
2022-06-12 20:48 ` [PATCH 02/11] bsd-user: Implement fdatasync, fsync and close_from Warner Losh
2022-06-13 19:46   ` Richard Henderson
2022-06-12 20:48 ` [PATCH 03/11] bsd-user: Implement revoke, access, eaccess and faccessat Warner Losh
2022-06-13 19:47   ` Richard Henderson
2022-06-13 23:07   ` Philippe Mathieu-Daudé via
2022-06-12 20:48 ` [PATCH 04/11] bsd-user: Implement chdir and fchdir Warner Losh
2022-06-13 19:48   ` Richard Henderson
2022-06-12 20:48 ` [PATCH 05/11] bsd-user: Implement rename and renameat Warner Losh
2022-06-13 19:49   ` Richard Henderson
2022-06-12 20:48 ` [PATCH 06/11] bsd-user: Implement link, linkat, unlink and unlinkat Warner Losh
2022-06-13 19:49   ` Richard Henderson
2022-06-12 20:48 ` [PATCH 07/11] bsd-user: Implement mkdir and mkdirat Warner Losh
2022-06-13 19:50   ` Richard Henderson
2022-06-12 20:48 ` [PATCH 08/11] bsd-user: Implement rmdir and undocumented -_getcwd Warner Losh
2022-06-13 19:52   ` Richard Henderson
2022-06-13 23:45     ` Warner Losh
2022-06-12 20:48 ` [PATCH 09/11] bsd-user: Implement dup and dup2 Warner Losh
2022-06-13 19:53   ` Richard Henderson
2022-06-13 21:54     ` Warner Losh
2022-06-12 20:48 ` [PATCH 10/11] bsd-user: Implement trunctate and ftruncate Warner Losh
2022-06-13 19:54   ` Richard Henderson
2022-06-12 20:48 ` [PATCH 11/11] bsd-user: Implement acct and sync Warner Losh
2022-06-13 19:54   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).