[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 77d352: bsd-user: Implement open, openat and
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] 77d352: bsd-user: Implement open, openat and close |
Date: |
Sun, 19 Jun 2022 13:56:58 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 77d3522b3fb6da9f39ada61fe7c2d0121c10de7f
https://github.com/qemu/qemu/commit/77d3522b3fb6da9f39ada61fe7c2d0121c10de7f
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
M bsd-user/syscall_defs.h
Log Message:
-----------
bsd-user: Implement open, openat and close
Add the open, openat and close system calls. We need to lock paths, so
implmenent that as well.
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Jung-uk Kim <jkim@FreeBSD.org>
Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: a2ba6c7b80b6aa1c6e33af778c6a9c8d99c7520e
https://github.com/qemu/qemu/commit/a2ba6c7b80b6aa1c6e33af778c6a9c8d99c7520e
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Implement fdatasync, fsync and close_from
Implement fdatasync(2), fsync(2) and close_from(2).
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Jung-uk Kim <jkim@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 65c6c4c893a29cf5c2eef48ab92ef4f04f31576f
https://github.com/qemu/qemu/commit/65c6c4c893a29cf5c2eef48ab92ef4f04f31576f
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Implement revoke, access, eaccess and faccessat
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 390f547ea80d6758099a867669e6429d511d9c88
https://github.com/qemu/qemu/commit/390f547ea80d6758099a867669e6429d511d9c88
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Implement chdir and fchdir
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: ab5fd2d969855be6a0355e55d21b51c676f7b1b6
https://github.com/qemu/qemu/commit/ab5fd2d969855be6a0355e55d21b51c676f7b1b6
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Implement rename and renameat
Plus the helper LOCK_PATH2 and UNLOCK_PATH2 macros.
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Jung-uk Kim <jkim@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 2d3b7e01d6ba9f6dcb86782484da42766ef7fef0
https://github.com/qemu/qemu/commit/2d3b7e01d6ba9f6dcb86782484da42766ef7fef0
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Implement link, linkat, unlink and unlinkat
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Jung-uk Kim <jkim@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 1ffbd5e7feae239aa2d6d986f086c57a5835720a
https://github.com/qemu/qemu/commit/1ffbd5e7feae239aa2d6d986f086c57a5835720a
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-14 (Tue, 14 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Implement mkdir and mkdirat
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 6af8f76a9f2c7b4d1ac5ba885695d8b6cc7c4dd0
https://github.com/qemu/qemu/commit/6af8f76a9f2c7b4d1ac5ba885695d8b6cc7c4dd0
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-14 (Tue, 14 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Implement rmdir and undocumented __getcwd
Implemenet rmdir and __getcwd. __getcwd is the undocumented
back end to getcwd(3).
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Jung-uk Kim <jkim@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: a15699acafd5cf9e4c414505a4aa36b0f2338ee8
https://github.com/qemu/qemu/commit/a15699acafd5cf9e4c414505a4aa36b0f2338ee8
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-14 (Tue, 14 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Implement dup and dup2
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 4b795b147b4b0eee01f24664f630411dde8ed872
https://github.com/qemu/qemu/commit/4b795b147b4b0eee01f24664f630411dde8ed872
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-14 (Tue, 14 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Implement trunctate and ftruncate
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: d35020ed00b1cb649ccd73ba4f5e918a5cc5363a
https://github.com/qemu/qemu/commit/d35020ed00b1cb649ccd73ba4f5e918a5cc5363a
Author: Warner Losh <imp@bsdimp.com>
Date: 2022-06-14 (Tue, 14 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Implement acct and sync
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: c8b2d413761af732a0798d8df45ce968732083fe
https://github.com/qemu/qemu/commit/c8b2d413761af732a0798d8df45ce968732083fe
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-06-19 (Sun, 19 Jun 2022)
Changed paths:
M bsd-user/bsd-file.h
M bsd-user/freebsd/os-syscall.c
M bsd-user/syscall_defs.h
Log Message:
-----------
Merge tag 'bsd-user-syscall-2022q2-pull-request' of
ssh://github.com/qemu-bsd-user/qemu-bsd-user into staging
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...
# -----BEGIN PGP SIGNATURE-----
# Comment: GPGTools - https://gpgtools.org
#
# iQIzBAABCgAdFiEEIDX4lLAKo898zeG3bBzRKH2wEQAFAmKvZSwACgkQbBzRKH2w
# EQCrdxAA0UeXmh/l1znPSrX4lif7Vhe4H5TdmHavGQX0p7B+dMd160SMLfKFJt7J
# HHXuQZbPFNuwqE5qiFPTcXIFjT5tq2WSjd9ZC/ZexfzBJIICwcUWuWvG2WfCA3fD
# hth/Ru2fX0vUwoUwvYw7lTPnhb9o52Z1rf5AEFu85E3UjKWEcARHCakm7n8a+Cg+
# PkF1qZ/qFic+bkBZkZLWyHB5qR2p2sIp+VHwlG1ew39Xim457kynQOoF8etIXc1Y
# g5PrjePUsVhPR7qm4CFplM4UOyGOOqIykHERppaXKtk2+kP8dp9HWog9Z/IFVOKc
# z3huDtf03UtmohjdJBYkpCcCzmd2EETRPgkFaVT5ciVGMb3Nom1b2/DOnndpS9qb
# TdE7J6Ek1vp4Mr386QHzm6AfdoHGZc4tH+SpDQZrsWbnugklYnQd3++GCqj8D2rA
# LJ8oWInviZP8xWDn5q1sXCNw/lgVup9ZNrMl7TcXmQDZXHSW1tElIAT2PZCebman
# rSwg/umr7fPOXdIAkLhF77bAt3J3kAzxhuYwHEstB3kRXEJ2VinLMf3BJBrGLnuK
# kr6kJy6hw7luIT5nUNLrrNtwsAAwEu6S7OSGhEiGaUSIhiER96k/tX2u/KOBtwGC
# VzIP7vK5V2xYPepyj4tXkVRHkjxxw3s8fYRXf73IsaZ6Avot8pg=
# =JmJY
# -----END PGP SIGNATURE-----
# gpg: Signature made Sun 19 Jun 2022 11:04:28 AM PDT
# gpg: using RSA key 2035F894B00AA3CF7CCDE1B76C1CD1287DB01100
# gpg: Good signature from "Warner Losh <wlosh@netflix.com>" [unknown]
# gpg: aka "Warner Losh <imp@bsdimp.com>" [unknown]
# gpg: aka "Warner Losh <imp@freebsd.org>" [unknown]
# gpg: aka "Warner Losh <imp@village.org>" [unknown]
# gpg: aka "Warner Losh <wlosh@bsdimp.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 2035 F894 B00A A3CF 7CCD E1B7 6C1C D128 7DB0 1100
* tag 'bsd-user-syscall-2022q2-pull-request' of
ssh://github.com/qemu-bsd-user/qemu-bsd-user:
bsd-user: Implement acct and sync
bsd-user: Implement trunctate and ftruncate
bsd-user: Implement dup and dup2
bsd-user: Implement rmdir and undocumented __getcwd
bsd-user: Implement mkdir and mkdirat
bsd-user: Implement link, linkat, unlink and unlinkat
bsd-user: Implement rename and renameat
bsd-user: Implement chdir and fchdir
bsd-user: Implement revoke, access, eaccess and faccessat
bsd-user: Implement fdatasync, fsync and close_from
bsd-user: Implement open, openat and close
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Compare: https://github.com/qemu/qemu/compare/a28498b1f959...c8b2d413761a
- [Qemu-commits] [qemu/qemu] 77d352: bsd-user: Implement open, openat and close,
Richard Henderson <=