]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user: do_freebsd_sysctl helper for sysctl(2)
authorKyle Evans <kevans@FreeBSD.org>
Fri, 10 Feb 2023 17:02:45 +0000 (10:02 -0700)
committerWarner Losh <imp@bsdimp.com>
Wed, 1 Mar 2023 18:09:19 +0000 (11:09 -0700)
commit7adda6de6d2d994aaf5f7da375ca951157bb008a
tree5b0785c16071f82c2a3b05f6a18603899d2215ce
parent248a485bf6d1519d4a41c69fb85b32c7480ae54a
bsd-user: do_freebsd_sysctl helper for sysctl(2)

Implement the wrapper function for sysctl(2). This puts the oid
arguments into a standard form and calls the common
do_freebsd_sysctl_oid.

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
Co-Authored-by: Juergen Lock <nox@jelal.kn-bremen.de>
Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
Co-Authored-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/freebsd/os-sys.c
bsd-user/freebsd/os-syscall.c
bsd-user/qemu.h