diff options
| author | Stacey Son <sson@FreeBSD.org> | 2023-09-25 21:24:18 +0300 |
|---|---|---|
| committer | Warner Losh <imp@bsdimp.com> | 2023-10-03 17:14:06 -0600 |
| commit | dcaa3dfda379157a1e5148e112a77aa7e1d79c58 (patch) | |
| tree | b956022c12f37d80dfeedea4da58b1b118cc0111 /bsd-user/freebsd/os-syscall.c | |
| parent | 8632729060bf840560215c91c8611bd6769deff9 (diff) | |
| download | focaccia-qemu-dcaa3dfda379157a1e5148e112a77aa7e1d79c58.tar.gz focaccia-qemu-dcaa3dfda379157a1e5148e112a77aa7e1d79c58.zip | |
bsd-user: Implement procctl(2) along with necessary conversion functions.
Implement t2h_procctl_cmd, h2t_reaper_status, h2t_reaper_pidinfo and h2t/t2h reaper_kill conversion functions. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20230925182425.3163-22-kariem.taha2.7@gmail.com>
Diffstat (limited to 'bsd-user/freebsd/os-syscall.c')
| -rw-r--r-- | bsd-user/freebsd/os-syscall.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bsd-user/freebsd/os-syscall.c b/bsd-user/freebsd/os-syscall.c index 71a2657dd0..b7bd0b92a6 100644 --- a/bsd-user/freebsd/os-syscall.c +++ b/bsd-user/freebsd/os-syscall.c @@ -367,6 +367,9 @@ static abi_long freebsd_syscall(void *cpu_env, int num, abi_long arg1, ret = do_bsd_setpriority(arg1, arg2, arg3); break; + case TARGET_FREEBSD_NR_procctl: /* procctl(2) */ + ret = do_freebsd_procctl(cpu_env, arg1, arg2, arg3, arg4, arg5, arg6); + break; /* * File system calls. |