[PATCH] D19027: [sanitizer] remove PS_STRINGS fallback on FreeBSD

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 07:14:08 PDT 2016


emaste added a comment.

In http://reviews.llvm.org/D19027#401005, @filcab wrote:

> Well, there's another point of view. Do we care about keeping the
>  PS_STRINGS for FreeBSD < 11? (Possibly <10.4 or <10.3)


No, there's no need. I actually made a mistake in my FreeBSD commit message when I said `kern.ps_strings` is available in any FreeBSD release supported within the last decade -- it's actually much longer.

`kern.ps_strings` was actually introduced in r14235 over 20 years ago:  https://svnweb.freebsd.org/changeset/base/14235
And in 1998 it was understood that "applications should use the kern.ps_strings sysctl instead of PS_STRINGS": https://svnweb.freebsd.org/changeset/base/41871


http://reviews.llvm.org/D19027





More information about the llvm-commits mailing list