Implement the mmap system call for FreeBSD.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest22 patches 56 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | Implement struct target_ipc_permbsd-user/ | +17 | 2 replies | |
| 2/22 | Implement struct target_shmid_dsbsd-user/ | +20 | 2 replies | |
| 3/22 | Declarations for ipc_perm and shmid_ds conversion functionsbsd-user/ | +45 | 2 replies | |
| 4/22 | Introduce freebsd/os-misc.h to the source treebsd-user/ | +28 | 2 replies | |
| 5/22 | Implement shm_open2(2) system callbsd-user/ bsd-user/ | +65 | 2 replies | |
| 6/22 | Implement shm_rename(2) system callbsd-user/ bsd-user/ | +30 | 2 replies | |
| 7/22 | Add bsd-mem.c to meson.buildbsd-user/ bsd-user/ | +1 | 2 replies | |
| 8/22 | Implement target_set_brk function in bsd-mem.c instead of os-syscall.cbsd-user/ bsd-user/ | +38 | 2 replies | |
| 9/22 | Implement ipc_perm conversion between host and target.bsd-user/ | +41 | 2 replies | |
| 10/22 | Implement shmid_ds conversion between host and target.bsd-user/ | +46 | 4 replies | |
| 11/22 | Introduce bsd-mem.h to the source treebsd-user/ bsd-user/ | +66 | 2 replies | |
| 12/22 | Implement mmap(2) and munmap(2)bsd-user/ bsd-user/ | +29 | 2 replies | |
| 13/22 | Implement mprotect(2)bsd-user/ bsd-user/ | +11 | 2 replies | |
| 14/22 | Implement msync(2)bsd-user/ bsd-user/ | +15 | 2 replies | |
| 15/22 | Implement mlock(2), munlock(2), mlockall(2), munlockall(2), madvise(2), minherit(2)bsd-user/ bsd-user/ | +68 | 3 replies | |
| 16/22 | Implement mincore(2)bsd-user/ bsd-user/ | +27 | 2 replies | |
| 17/22 | Implement do_obreak functionbsd-user/ bsd-user/ | +92 | 2 replies | |
| 18/22 | Implement shm_open(2)bsd-user/ bsd-user/ | +31 | 3 replies | |
| 19/22 | Implement shm_unlink(2) and shmget(2)bsd-user/ bsd-user/ | +31 | 3 replies | |
| 20/22 | Implement shmctl(2)bsd-user/ bsd-user/ | +37 | 4 replies | |
| 21/22 | Implement shmat(2) and shmdt(2)bsd-user/ bsd-user/ | +80 | 6 replies | |
| 22/22 | Add stubs for vadvise(), sbrk() and sstk()bsd-user/ bsd-user/ | +33 | 3 replies |
Reviews trailers per patch
19 of 22 patches have a Reviewed-by or Acked-by.
| Patch | Kyle Evans | Mikaël Urankar | Richard Henderson | Warner Losh |
|---|---|---|---|---|
| 1/22 | R-b | R-b | ||
| 2/22 | R-b | R-b | ||
| 3/22 | R-b | R-b | ||
| 4/22 | R-b | R-b | ||
| 5/22 | ||||
| 6/22 | R-b | R-b | ||
| 7/22 | R-b | R-b | ||
| 8/22 | Co-authored-by | R-b | R-b | |
| 9/22 | R-b | R-b | ||
| 10/22 | R-b | R-b | ||
| 11/22 | R-b | R-b | ||
| 12/22 | R-b | R-b | ||
| 13/22 | R-b | R-b | ||
| 14/22 | Co-authored-by | R-b | R-b | |
| 15/22 | R-b | |||
| 16/22 | R-b | |||
| 17/22 | Co-authored-by | |||
| 18/22 | Co-authored-by | R-b | ||
| 19/22 | R-b R-b | R-b | ||
| 20/22 | R-b | |||
| 21/22 | ||||
| 22/22 | 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 00/22] Implement the mmap system call 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), madvise(2), minherit(2), mincore(2), shm_open(2),shm_open2(2), shm_rename2(2), shm_unlink(2), shmget(2), shmctl(2), shmat(2), shmdt(2)
Karim Taha (1):
Add bsd-mem.c to meson.build
Kyle Evans (2):
Implement shm_open2(2) system call
Implement shm_rename(2) system call
Stacey Son (19):
Implement struct target_ipc_perm
Implement struct target_shmid_ds
Declarations for ipc_perm and shmid_ds conversion functions Introduce freebsd/os-misc.h to the source tree
Implement target_set_brk function in bsd-mem.c instead of os-syscall.c Implement ipc_perm conversion between host and target. Implement shmid_ds conversion between host and target. Introduce bsd-mem.h to the source tree
Implement mmap(2) and munmap(2)
Implement mprotect(2)
Implement msync(2)
Implement mlock(2), munlock(2), mlockall(2), munlockall(2),
madvise(2), minherit(2)
Implement mincore(2)
Implement do_obreak function
Implement shm_open(2)
Implement shm_unlink(2) and shmget(2)
Implement shmctl(2)
Implement shmat(2) and shmdt(2)
Add stubs for vadvise(), sbrk() and sstk()
bsd-user/bsd-mem.c | 125 ++++++++++ bsd-user/bsd-mem.h | 431 ++++++++++++++++++++++++++++++++++ bsd-user/freebsd/os-misc.h | 104 ++++++++ bsd-user/freebsd/os-syscall.c | 112 ++++++++- bsd-user/meson.build | 1 + bsd-user/qemu-bsd.h | 45 ++++ bsd-user/syscall_defs.h | 37 +++ 7 files changed, 851 insertions(+), 4 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.40.0