mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-28 12:05:06 +00:00
FreeBSD 11.4's sys___sysctl and userland_sysctl copy the name and the old length in, and copy the value and the length out, so a bad pointer gives EFAULT in that order. sysctl dereferenced them directly, and sysctlbyname read its name with strcmp. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>