diff options
Diffstat (limited to 'emulators/qemu-devel/files/extra-patch-sysctl-0oldlen')
| -rw-r--r-- | emulators/qemu-devel/files/extra-patch-sysctl-0oldlen | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-sysctl-0oldlen b/emulators/qemu-devel/files/extra-patch-sysctl-0oldlen index 72a8d52d92d7..0f2d96e5ee1d 100644 --- a/emulators/qemu-devel/files/extra-patch-sysctl-0oldlen +++ b/emulators/qemu-devel/files/extra-patch-sysctl-0oldlen @@ -1,3 +1,13 @@ +From nox Mon Sep 17 00:00:00 2001 +From: Juergen Lock <nox@jelal.kn-bremen.de> +Date: 05 Apr 2014 23:36:00 +0200 +Subject: Fix FreeBSD sysctls kern.usrstack and kern.ps_strings + +Fix FreeBSD sysctls kern.usrstack and kern.ps_strings invoked with +oidlen zero. (like from sysctl(8)) + +Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de> + --- a/bsd-user/freebsd/os-sys.c +++ b/bsd-user/freebsd/os-sys.c @@ -165,7 +165,9 @@ abi_long do_freebsd_sysctl(CPUArchState |
