summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_platform_limits_linux.cc
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2016-04-14 14:17:42 +0000
committerEd Maste <emaste@freebsd.org>2016-04-14 14:17:42 +0000
commit339c6e51d48be82b99a0d0f194a0ba215f19c203 (patch)
tree8e7815a89174acf0019888bf4620561b87a7bcdc /lib/sanitizer_common/sanitizer_platform_limits_linux.cc
parent2d5eb7163c0c720f7f6b61cf422c23d92a53635c (diff)
[sanitizer] remove FreeBSD PS_STRINGS fallback
The PS_STRINGS constant can easily be incorrect with mismatched kernel/userland - e.g. when building i386 sanitizers on FreeBSD/amd64 with -m32. The kern.ps_strings sysctl was introduced over 20 years ago as the supported way to fetch the environment and argument string addresses from the kernel, so the fallback is never used. Differential Revision: http://reviews.llvm.org/D19027 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@266305 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_platform_limits_linux.cc')
0 files changed, 0 insertions, 0 deletions