[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 00/28] bsd-user: Implement freebsd process related system call
From: |
Karim Taha |
Subject: |
[PATCH v4 00/28] bsd-user: Implement freebsd process related system calls. |
Date: |
Mon, 25 Sep 2023 00:01:08 +0300 |
Karim Taha (3):
bsd-user: define TARGET_RFSPAWN for rfork to use vfork(2) semantics,
and fix RLIM_INFINITY
bsd-user: Implement get_filename_from_fd.
bsd-user: Implement execve(2) and fexecve(2) system calls.
Kyle Evans (1):
bsd-user: Get number of cpus.
Stacey Son (24):
bsd-user: Define procctl(2) related structs
bsd-user: Implement host_to_target_siginfo.
bsd-user: Add freebsd_exec_common and do_freebsd_procctl to qemu.h.
bsd-user: add extern declarations for bsd-proc.c conversion functions
bsd-user: Implement target_to_host_resource conversion function
bsd-user: Implement target_to_host_rlim and host_to_target_rlim
conversion.
bsd-user: Implement host_to_target_rusage and host_to_target_wrusage.
bsd-user: Implement host_to_target_waitstatus conversion.
bsd-user: Implement getgroups(2) and setgroups(2) system calls.
bsd-user: Implement umask(2), setlogin(2) and getlogin(2)
bsd-user: Implement getrusage(2).
bsd-user: Implement getrlimit(2) and setrlimit(2)
bsd-user: Implement several get/set system calls:
bsd-user: Implement get/set[resuid/resgid/sid] and issetugid.
bsd-user: Add stubs for profil(2), ktrace(2), utrace(2) and ptrace(2).
bsd-user: Implement getpriority(2) and setpriority(2).
bsd-user: Implement freebsd_exec_common, used in implementing
execve/fexecve.
bsd-user: Implement procctl(2) along with necessary conversion
functions.
bsd-user: Implement wait4(2) and wait6(2) system calls.
bsd-user: Implement setloginclass(2) and getloginclass(2) system
calls.
bsd-user: Implement pdgetpid(2) and the undocumented setugid.
bsd-user: Implement fork(2) and vfork(2) system calls.
bsd-user: Implement rfork(2) system call.
bsd-user: Implement pdfork(2) system call.
bsd-user/bsd-proc.c | 145 ++++++++++
bsd-user/bsd-proc.h | 379 +++++++++++++++++++++++++++
bsd-user/freebsd/meson.build | 1 +
bsd-user/freebsd/os-proc.c | 479 ++++++++++++++++++++++++++++++++++
bsd-user/freebsd/os-proc.h | 293 +++++++++++++++++++++
bsd-user/freebsd/os-syscall.c | 206 ++++++++++++++-
bsd-user/main.c | 2 +-
bsd-user/meson.build | 6 +
bsd-user/qemu-bsd.h | 38 +++
bsd-user/qemu.h | 7 +
bsd-user/signal-common.h | 1 +
bsd-user/signal.c | 6 +
bsd-user/syscall_defs.h | 50 +++-
13 files changed, 1607 insertions(+), 6 deletions(-)
create mode 100644 bsd-user/bsd-proc.c
create mode 100644 bsd-user/freebsd/os-proc.c
create mode 100644 bsd-user/freebsd/os-proc.h
create mode 100644 bsd-user/qemu-bsd.h
--
2.42.0
- [PATCH v4 00/28] bsd-user: Implement freebsd process related system calls.,
Karim Taha <=
- [PATCH v4 01/28] bsd-user: define TARGET_RFSPAWN for rfork to use vfork(2) semantics, and fix RLIM_INFINITY, Karim Taha, 2023/09/24
- [PATCH v4 02/28] bsd-user: Define procctl(2) related structs, Karim Taha, 2023/09/24
- [PATCH v4 03/28] bsd-user: Implement host_to_target_siginfo., Karim Taha, 2023/09/24
- [PATCH v4 04/28] bsd-user: Add freebsd_exec_common and do_freebsd_procctl to qemu.h., Karim Taha, 2023/09/24
- [PATCH v4 05/28] bsd-user: add extern declarations for bsd-proc.c conversion functions, Karim Taha, 2023/09/24
- [PATCH v4 06/28] bsd-user: Implement target_to_host_resource conversion function, Karim Taha, 2023/09/24
- [PATCH v4 07/28] bsd-user: Implement target_to_host_rlim and host_to_target_rlim conversion., Karim Taha, 2023/09/24
- [PATCH v4 09/28] bsd-user: Implement host_to_target_waitstatus conversion., Karim Taha, 2023/09/24
- [PATCH v4 08/28] bsd-user: Implement host_to_target_rusage and host_to_target_wrusage., Karim Taha, 2023/09/24