From: Damjan Jovanovic Subject: [PATCH 0/8] use sysctl instead of /proc/curproc/file on FreeBSD Message-Id: Date: Sat, 23 Oct 2021 10:14:04 +0200 /proc isn't even mounted by default on FreeBSD, causing Wine to crash, yet everything it provides is always available through sysctl(3) and/or libprocstat(3). This patchset changes Wine to use sysctl() calls instead of /proc/curproc/file, and gets Wine working with /proc unmounted. Damjan Jovanovic (8): server: use sysctl instead of /proc/curproc/file on FreeBSD loader: use sysctl instead of /proc/curproc/file on FreeBSD ntdll: use sysctl instead of /proc/curproc/file on FreeBSD libs/wine: use sysctl instead of /proc/curproc/file on FreeBSD widl: use sysctl instead of /proc/curproc/file on FreeBSD winegcc: use sysctl instead of /proc/curproc/file on FreeBSD wmc: use sysctl instead of /proc/curproc/file on FreeBSD wrc: use sysctl instead of /proc/curproc/file on FreeBSD dlls/ntdll/unix/loader.c | 14 +++++++++++++- libs/wine/config.c | 16 ++++++++++++++-- loader/main.c | 15 ++++++++++++--- server/unicode.c | 16 +++++++++++++++- tools/widl/widl.c | 12 +++++++++++- tools/winegcc/winegcc.c | 12 +++++++++++- tools/wmc/wmc.c | 12 +++++++++++- tools/wrc/wrc.c | 12 +++++++++++- 8 files changed, 98 insertions(+), 11 deletions(-) -- 2.32.0