]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user: common routine do_freebsd_sysctl_oid for all sysctl variants
authorJuergen Lock <nox@jelal.kn-bremen.de>
Fri, 10 Feb 2023 22:24:45 +0000 (15:24 -0700)
committerWarner Losh <imp@bsdimp.com>
Wed, 1 Mar 2023 18:09:18 +0000 (11:09 -0700)
commitdd7a627ac7cb0db72a31813f628bc4d12f5c55a6
tree751e61e7ba9e40c801d850eae87c9353358e8e02
parent0394968a44e0d4dacf7ca12c7d3a9044f78c5d9d
bsd-user: common routine do_freebsd_sysctl_oid for all sysctl variants

do_freebsd_sysctl_oid filters out some of the binary and special sysctls
where host != target. None of the sysctls that have to be translated from
host to target are handled here.

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>
Co-Authored-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