bsd-user: Implement mmap related system calls for FreeBSD.
Status from this message: queued to bsd-user-topo
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest23 patches 1 replyApplied
- v5 posting 2/228 patches 1 replyApplied
- v4 posting 2/228 patches 6 repliesSuperseded
Earlier versions · 7
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 posting 2/2 | 28 patches | 0 replies | Superseded | |
| v2 posting 2/2 | 28 patches | 27 replies | Superseded | |
| v5 posting 1/2 | 23 patches | 9 replies | Superseded | |
| v4 posting 1/2 | 23 patches | 0 replies | Superseded | |
| v3 posting 1/2 | 23 patches | 14 replies | Superseded | |
| v2 posting 1/2 | 23 patches | 0 replies | Superseded | |
| v1 | 32 patches | 40 replies | Superseded |
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | bsd-user: Implement struct target_ipc_permbsd-user/ | +17 | 0 replies | |
| 2/23 | bsd-user: Implement struct target_shmid_dsbsd-user/ | +20 | 0 replies | |
| 3/23 | bsd-user: Declarations for ipc_perm and shmid_ds conversion functionsbsd-user/ | +45 | 0 replies | |
| 4/23 | bsd-user: Introduce freebsd/os-misc.h to the source treebsd-user/ | +28 | 0 replies | |
| 5/23 | bsd-user: Implement shm_open2(2) system callbsd-user/ bsd-user/ | +52 | 0 replies | |
| 6/23 | bsd-user: Implement shm_rename(2) system callbsd-user/ bsd-user/ | +30 | 0 replies | |
| 7/23 | bsd-user: Add bsd-mem.c to meson.buildbsd-user/ bsd-user/ | +1 | 0 replies | |
| 8/23 | bsd-user: Implement target_set_brk function in bsd-mem.c instead of os-syscall.cbsd-user/ bsd-user/ | +32 | 0 replies | |
| 9/23 | bsd-user: Implement ipc_perm conversion between host and target.bsd-user/ | +25 | 0 replies | |
| 10/23 | bsd-user: Implement shmid_ds conversion between host and target.bsd-user/ | +47 | 0 replies | |
| 11/23 | bsd-user: Introduce bsd-mem.h to the source treebsd-user/ bsd-user/ | +65 | 0 replies | |
| 12/23 | bsd-user: Implement mmap(2) and munmap(2)bsd-user/ bsd-user/ | +29 | 0 replies | |
| 13/23 | bsd-user: Implement mprotect(2)bsd-user/ bsd-user/ | +11 | 0 replies | |
| 14/23 | bsd-user: Implement msync(2)bsd-user/ bsd-user/ | +15 | 0 replies | |
| 15/23 | bsd-user: Implement mlock(2), munlock(2), mlockall(2), munlockall(2), minherit(2)bsd-user/ bsd-user/ | +57 | 0 replies | |
| 16/23 | bsd-user: Implment madvise(2) to match the linux-user implementation.bsd-user/ bsd-user/ bsd-user/ | +59 | 0 replies | |
| 17/23 | bsd-user: Implement mincore(2)bsd-user/ bsd-user/ | +27 | 0 replies | |
| 18/23 | bsd-user: Implement do_obreak functionbsd-user/ bsd-user/ | +52 | 0 replies | |
| 19/23 | bsd-user: Implement shm_open(2)bsd-user/ bsd-user/ | +29 | 0 replies | |
| 20/23 | bsd-user: Implement shm_unlink(2) and shmget(2)bsd-user/ bsd-user/ | +31 | 0 replies | |
| 21/23 | bsd-user: Implement shmctl(2)bsd-user/ bsd-user/ | +43 | 0 replies | |
| 22/23 | bsd-user: Implement shmat(2) and shmdt(2)bsd-user/ bsd-user/ bsd-user/ +1 more | +97 | 0 replies | |
| 23/23 | bsd-user: Add stubs for vadvise(), sbrk() and sstk()bsd-user/ bsd-user/ | +30 | 0 replies |
Reviews trailers per patch
22 of 23 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Mikaël Urankar | Warner Losh | Kyle Evans |
|---|---|---|---|---|
| 1/23 | R-b | R-b | ||
| 2/23 | R-b | R-b | ||
| 3/23 | R-b | R-b | ||
| 4/23 | R-b | R-b | ||
| 5/23 | R-b | |||
| 6/23 | R-b | R-b | ||
| 7/23 | R-b | R-b | ||
| 8/23 | R-b | Co-authored-by | R-b | |
| 9/23 | R-b | |||
| 10/23 | R-b | |||
| 11/23 | R-b | R-b | ||
| 12/23 | R-b | R-b | ||
| 13/23 | R-b | R-b | ||
| 14/23 | R-b | R-b | Co-authored-by | |
| 15/23 | R-b | |||
| 16/23 | R-b | |||
| 17/23 | R-b | |||
| 18/23 | R-b | |||
| 19/23 | R-b | Co-authored-by | ||
| 20/23 | R-b | R-b | ||
| 21/23 | R-b | |||
| 22/23 | ||||
| 23/23 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v6 00/23] bsd-user: Implement mmap related system calls for FreeBSD.
Upstream the implementation of the following mmap system calls, from the qemu-bsd-user fork:
mmap(2), munmap(2),
mprotect(2),
msync(2),
mlock(2), munlock(2), mlockall(2), munlockall(2), mincore(2),
madvise(2),
minherit(2),
shm_open(2),shm_open2(2), shm_rename2(2), shm_unlink(2), shmget(2), shmctl(2), shmat(2), shmdt(2)
brk(2)
Karim Taha (3):
bsd-user: Implement shm_open2(2) system call
bsd-user: Add bsd-mem.c to meson.build
bsd-user: Implment madvise(2) to match the linux-user implementation.
Kyle Evans (1):
bsd-user: Implement shm_rename(2) system call
Stacey Son (18):
bsd-user: Implement struct target_ipc_perm
bsd-user: Implement struct target_shmid_ds
bsd-user: Declarations for ipc_perm and shmid_ds conversion functions
bsd-user: Introduce freebsd/os-misc.h to the source tree
bsd-user: Implement target_set_brk function in bsd-mem.c instead of
os-syscall.c
bsd-user: Implement ipc_perm conversion between host and target.
bsd-user: Implement shmid_ds conversion between host and target.
bsd-user: Introduce bsd-mem.h to the source tree
bsd-user: Implement mmap(2) and munmap(2)
bsd-user: Implement mprotect(2)
bsd-user: Implement msync(2)
bsd-user: Implement mlock(2), munlock(2), mlockall(2), munlockall(2),
minherit(2)
bsd-user: Implement mincore(2)
bsd-user: Implement do_obreak function
bsd-user: Implement shm_open(2)
bsd-user: Implement shm_unlink(2) and shmget(2)
bsd-user: Implement shmctl(2)
bsd-user: Implement shmat(2) and shmdt(2)
Warner Losh (1):
bsd-user: Add stubs for vadvise(), sbrk() and sstk()
bsd-user/bsd-mem.c | 104 ++++++++ bsd-user/bsd-mem.h | 452 ++++++++++++++++++++++++++++++++++ bsd-user/freebsd/os-misc.h | 94 +++++++ bsd-user/freebsd/os-syscall.c | 109 +++++++- bsd-user/meson.build | 1 + bsd-user/mmap.c | 2 +- bsd-user/qemu-bsd.h | 45 ++++ bsd-user/qemu.h | 1 + bsd-user/syscall_defs.h | 39 +++ 9 files changed, 842 insertions(+), 5 deletions(-) create mode 100644 bsd-user/bsd-mem.c create mode 100644 bsd-user/bsd-mem.h create mode 100644 bsd-user/freebsd/os-misc.h create mode 100644 bsd-user/qemu-bsd.h
Signature · 1 line
2.42.0