Created attachment 169272 [details] exec.h: Move PS_STRINGS define to kernel-only section The kern.ps_strings sysctl was introduced in r103767 and the last use of PS_STRINGS in userspace code was removed in r297888. I would like to see if any ports still depend on it and patch them so that the value can be used in kernel only.
The patch seems unrelated to the bug report
Created attachment 169883 [details] exec.h: Move PS_STRINGS define to kernel-only section Upload correct patch
> The patch seems unrelated to the bug report Indeed, sorry about that. I'm not sure what happened. It has now been replaced with the correct patch.
Exp-run looks good, 0 new failure.
A commit references this bug: Author: emaste Date: Wed May 11 21:14:36 UTC 2016 New revision: 299482 URL: https://svnweb.freebsd.org/changeset/base/299482 Log: exec.h: Move PS_STRINGS define to kernel-only section The kern.ps_strings sysctl was introduced in r103767 and the last use of PS_STRINGS in userspace code was removed in r297888. PR: 208760 [exp-run] Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5933 Changes: head/sys/sys/exec.h