History log of /external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c58a43648cd6121c51a2e795a28e2ef90d7813e6 20-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r275480

Bug: http://b/31320715

This merges commit db963a21048fd7242daae74666cb221f796f33c3 from
aosp/dev.

Test: Build AOSP and run RenderScript tests (host tests for slang and
libbcc, RsTest, CTS)

Change-Id: I8bdd651c1759c4306d62c34edec1d8d9536c9715
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
a822161eb8bad420c4978112dbf22378a5ceb175 18-May-2016 Stephen Hines <srhines@google.com> Merge aosp/dev cherry-picks (for MIPS ASan) into aosp/master.

Change-Id: I2648388f5c2cd04e6d27f7ebd9aa43e1411f4b3d
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
799172d60d32feb1acba1a6867f3a9c39a999e5c 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r256229

http://b/26987366

Change-Id: I0ca3d7d3f1b7926fcffcb5b467e79958de576437
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
259f7063e3e4c4b94dded1e90ab0a943d0fa737b 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r235153

Change-Id: I7c900e78d263fe0f574369e8383ccac7e36f5c3b
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
86277eb844c4983c81de62d7c050e92fe7155788 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r230699.

Change-Id: I6c415fd5f6420e3012d9da76719111721e906dfa
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
6d1862363c88c183b0ed7740fca876342cf0474b 27-Nov-2014 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r222486.

Change-Id: I38047809dbac0425193c82e810315998adbb380d
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
6fafcc0770267cc7984f4f366b977c3752e105de 21-Oct-2014 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix build with _FILE_OFFSET_BITS=64.

Sanitizer source is not affected by _FILE_OFFSET_BITS in general,
but this one file must be built with 32-bit off_t. More details in the code.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@220328 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 3c536954a67a883630f4a7513a27f02a892c3dcb)
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
fd6618a098546bb430bf2035023d224c20ca3f67 14-Oct-2014 Ed Maste <emaste@freebsd.org> Fix compiler-rt build on FreeBSD 10.1

We have to #define _WANT_RTENTRY to get struct rtentry, and add headers
that it depends on.

SIOCADDRT and SIOCDELRT also do not exist in FreeBSD 10.1 and were removed
in FreeBSD rev. 263203:

Garbage collect long time obsoleted (or never used) stuff from routing
API.

Differential Revision: http://reviews.llvm.org/D5703

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219722 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit d4216f1b42dd1d0c473177f407d40afbc5647e77)
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
6a211c5814e25d6745a5058cc0e499e5235d3821 21-Jul-2014 Stephen Hines <srhines@google.com> Update compiler-rt for rebase to r212749.

Includes a cherry-pick of:
r213309 - fixes umodsi3

Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
92f36fefebbf65930d49375c4c84aff6df313d29 05-Jun-2014 Dan Albert <danalbert@google.com> Remove's uses of sys/timeb.h for Android.

Android is removing sys/timeb.h because it was removed in POSIX 2008.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210235 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
a797a50b31655503c19d8bf053a44eaabf2a882a 05-Jun-2014 Stephen Hines <srhines@google.com> Revert "Bionic is getting rid of sys/timeb.h"

This reverts commit f39cd2e44634e4839f8961966cdd7565b6801dbc.
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
f39cd2e44634e4839f8961966cdd7565b6801dbc 05-Jun-2014 Dan Albert <danalbert@google.com> Bionic is getting rid of sys/timeb.h

This file has been removed from POSIX.

Change-Id: I5dd31147143b23a090a3b75b846dc5354e599121
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
25ecb75efb30f8a8f80cc89c3a1cb83508e7bacf 10-Feb-2014 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] struct ustat and a bunch of other definitions are missing on Android.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201068 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
388e818799d1fc47fd287d59bf22100f5244f74c 15-Dec-2013 Bill Wendling <isanbard@gmail.com> Merging r196779:
------------------------------------------------------------------------
r196779 | samsonov | 2013-12-09 05:21:43 -0800 (Mon, 09 Dec 2013) | 11 lines

PR17977: don't assume EOWNERDEAD is always defined

Summary: See details in http://llvm.org/bugs/show_bug.cgi?id=17977

Reviewers: dvyukov

Reviewed By: dvyukov

CC: glider, llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2340
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197353 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
e1e68833ddbebf4827690218763c0be5b91104e7 22-Nov-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> Merging r195427:
------------------------------------------------------------------------
r195427 | eugenis | 2013-11-22 13:01:50 +0400 (Fri, 22 Nov 2013) | 10 lines

[sanitizer] Change the way we use certain linux kernel headers.

Some linux headers are broken on older kernels.
Instead of depending on the constants and types from such headers directly,
we provide our own definitions and then verify them with compile-time
assertions. This makes the dependency on the headers test-only and would allow
switching to some other way of testing on older kernels, or even disable the
tests as the last resort (after all, kernel interfaces are supposed to be
stable).

------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@195460 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
efb0226d4bc5a61e26851271e1aec2dd0e1f6781 15-Nov-2013 Bob Wilson <bob.wilson@apple.com> Remove #include of net/ip_mroute.h for SANITIZER_MAC.

This header has not been supported at all for the last 2 major OS X releases.
Removed its include and the capture of related symbols.

<rdar://problem/15303348>

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194841 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
11f5309ec1bf13430c8a3a16f177d9e8e1190e38 15-Nov-2013 Dmitry Vyukov <dvyukov@google.com> tsan: add support for robust mutexes



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194823 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
e041c6024b3ebf1365c0f99732fc69c607577571 06-Nov-2013 Kostya Serebryany <kcc@google.com> [asan] attempting to fix x32 build (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59018)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194155 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
bd65956821ebe3f4e1fb0b57892a5a443ad50c6f 01-Nov-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Enhance io_submti syscall handler.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193848 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
b8a141f3783d796eabf45fabff82f3e08244e338 31-Oct-2013 Alexander Potapenko <glider@google.com> [libsanitizer] Define SANITIZER_IOS when building for iOS or iOS simulator.
Do not use struct stat64 and struct statfs64 when building for iOS, where __DARWIN_ONLY_64_BIT_INO_T is set to 1.




git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
1bb2229028dd78280d24c26b9efbe8476d966e05 30-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [asan] Fix syscall hooks build on Android.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193670 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
3ee98e37856935ac1d79d51364df73ce00d8218e 29-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Ptrace syscall handler.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193633 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
f3603890015c130420def39d67a02c2fdafc6f84 29-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Intercept shmat.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193581 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
10362d66fffcd99bd5ced983e4b389dfeba114d0 24-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept shmctl.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193348 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
369a9a6d4297af031227db1c6fedd21ee7033dc1 23-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept ether_* functions.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193241 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
acd18b94d494ea946599ae40425ef9ee670b0183 18-Oct-2013 Alexander Potapenko <glider@google.com> [ASan] fix compilation of sanitizer_platform_limits_posix.cc on OSX.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192975 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
9d06f1b8b7b215acd843f6360309eb93d51e88c7 18-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix OSX build some more.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192967 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
0489e113d3e9fa9379fa38bc1a50f81414feab48 18-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix OSX build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
5cee73e486aaa617a9627bb69a6447d3369b62cc 18-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Move statfs/fstatfs to common interceptors and add statvfs/fstatvfs.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192965 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
4d7297daef90ad59446250617b72d184141436fc 18-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept getmntent, getmntent_r.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192959 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
5e2d3776a314629680921abd1d55d89d95a2da90 16-Oct-2013 Alexey Samsonov <samsonov@google.com> Make some pthread_mutex_* and pthread_cond_* interceptors common.

Reviewers: eugenis, dvyukov

Reviewed By: dvyukov

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1937

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
cf39032f101dfb3b97b1dfc7b6d03f5d89dff266 02-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix localtime and gmtime interceptors to clean tm->tm_zone.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191827 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
9c4fd1623b690726679acf020c8613c7461daea4 25-Sep-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Don't include wordexp.h on Android

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191358 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
c5a385500057ba60c71abbb1d1cc0ee3773be792 24-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept wordexp.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
a3cb27e188bd23190ba7a41a8c62fa7cc5ac5544 06-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Avoid including any system headers in the system-header-free part of the runtime library.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
639df402c4925acd3ea7bebff729a535e3f79964 06-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] A bunch of linux system call handlers.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190157 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
b32d1bfc59592bc57d74a1e940881354b4788eae 27-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Simplify sigaction and sigset_t handling.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189338 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
8766b8162c8e0e2f57baf7aa47736f89aaaac9dc 18-Aug-2013 Chandler Carruth <chandlerc@gmail.com> Revert r188369 (and r188455) which breaks the build on at least some
Linux systems. I've replied on the original commit thread with details
of the problem.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188628 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
e6e564d232f95719277476308937856328c63682 14-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Split platform_limits_posix into system- and kernel-dependent parts.

This change moves everything depending on kernel headers (mostly ioctl types
and ids) into a separate source file. This will reduce the possibility of
header conflict on various platforms (most importantly, older glibc versions).

This change also removes 2 deprecated ioctls, and symbolic ids for other bunch
of ambiguous ioctls (i.e. same id is shared by ioctls with different memory
behavior).


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188369 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
e18e3f07802c420eb4b2da407e148084b75cecc9 12-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept poll/ppoll.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
b6bde4d2bc5231cd1b38ff92e51afb3f6e157386 16-Jul-2013 Alexey Samsonov <samsonov@google.com> [ASan] Bump min supported Mac OS X version to 10.6

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186404 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
eaca82cf249021afa31dbc970278f2f28ea2a1aa 15-Jul-2013 Timur Iskhodzhanov <timurrrr@google.com> Fix check_lint warnings in sanitizers' runtime libraries

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186328 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
5a482cd54a75bf821fb8c61f2fe4e84ae9efb714 11-Jul-2013 Chandler Carruth <chandlerc@gmail.com> Fix a veritable conucopia of bugs in the readdir_r interceptors.

First, the reason I came here: I forgot to look at readdir64_r which had
the exact same bug as readdir_r. However, upon applying the same
quick-fix and testing it I discovered that it still didn't work at all.
As a consequence, I spent some time studying the code and thinking about
it and fixed several other problems.

Second, the code was checking for a null entry and result pointer, but
there is no indication that null pointers are viable here. Certainly,
the spec makes it extremely clear that there is no non-error case where
the implementation of readdir_r fails to dereference the 'result'
pointer and store NULL to it. Thus, our checking for a non-null 'result'
pointer before reflecting that write in the instrumentation was
trivially dead. Remove it.

Third, the interceptor was marking the write to the actual dirent struct
by looking at the entry pointer, but nothing in the spec requires that
the dirent struct written is actually written into the entry structure
provided. A threadlocal buffer would be just as conforming, and the spec
goes out of its way to say the pointer to the *actual* result dirent
struct is stored into *result, so *that* is where the interceptor should
reflect a write occuring. This also obviates the need to even consider
whether the 'entry' parameter is null.

Fourth, I got to the bottom of why nothing at all worked in readdir64_r
-- the interceptor structure for dirent64 was completely wrong in that
it was the same as dirent. I fixed this struct to be correct (64-bit
inode and 64-bit offset! just a 64-bit offset isn't enough!) and added
several missing tests for the size and layout of this struct.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186109 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
57a1095fca7b95db8a0ec87fce7a6f0e331a5b99 10-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] More checks in mbstowcs-like interceptors.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
3fa122e6a8e12db6583793861f6cf776fe1c98a0 09-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Support GLOB_ALTDIRFUNC in glob interceptor.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185932 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
12eb79dd701d9d40551759330a9257316601373b 09-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept realpath and canonicalize_file_name.

Handle realpath(path, NULL) form.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185921 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
737da2f031badfad5bc5b762cc50d789fbcb6ef8 05-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Intercept pthread_key_create.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185693 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
22d8767a45f08218b4d725146c5a8484a183be29 05-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Disable ptrace interception on non-x86(_64).

Patch by Hal Finkel.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
1cdae25bd9628901627faafd1c14742eedf5028c 02-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix Android build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185432 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
906f2c11e854539f316f737b1f661c0f6bc66fab 02-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix GLOB_NOMATCH behaviour and refactor the interceptor a bit.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
b2b01945cfb060d67536f19063bbbf87e947e9ba 01-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix build with older kernels.

PTRACE_SETREGSET & PTRACE_GETREGSET may be missing from linux headers.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185317 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
d50d29ecfafbdbdb033f7d94b7ff88c1fce40452 28-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Disable all ptrace-related definitions on Android.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185150 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
3678cf9323d4134887a3fee16e849332d97f03eb 28-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix an unfortunate typo and disable ptrace interception on Android.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185145 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
341b9e63f63a8eacf1b699d4c79edee55241ebe6 28-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept ptrace.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
a0379b5566f7c04536a313e40c450c6aef4b3ec5 27-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix dirent interceptors.

The new version reads d_reclen for (struct dirent) size.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185067 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
b5cf98f76fd62236f2945bff17b3cdb4e8a5c2f4 26-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] readdir and readdir_r interceptors.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184950 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
4f116ad082a3419f98ac000f76a76e0badc0e611 26-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix build with OSS4 kernel headers.

This fixes PR16453.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184925 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
359d7fc7daf099ab8ef9a860564542d2581544aa 24-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept sysinfo.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184739 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
9d60087654f89e3452841350d9eca97644edca9d 24-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept inet_aton.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
bb273d554d61c1a851158b0c79c2d3f51a845bbd 21-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [santizer] Disable several EVIOxxx ioctls on older kernels.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184539 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
4612abac2e172e077246cec0fcbed291f55a1d02 20-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Handle EVIOxxxx ioctls.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
89d1eee9f468823cc7f01b0d5281a5c9f64a4c31 19-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix struct ifconf definition on Mac and restore the size checks.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
22ec6d98e074a007d2767cc473a42e7838d273c1 19-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix Android build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184293 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
b588bfd486433ec3875f4d467e8cea41be205e1c 19-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix build on RHEL 6.3, 6.4.

linux/if_ppp.h is broken in certain kernels.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184290 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
7028c1ee187302ace4fa3530769458c0b3caf946 18-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix Android build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184187 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
5ec47415ad09e8cb652a100253ab26cec7501d48 18-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Remove a set of deprecated ioctls.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184185 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
7965e957a57011241334c444fec69d14116a9fdf 18-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Replace ext2_ ioctls with generic fs_ ioctls.

They are actually the same, but ext2_fs.h header is not available in userspace
with newer kernels.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184184 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
2557a1b4517971c9cf1aff62425fc48561db9949 18-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Symbolic ioctl names.

Replace hardcoded ioctl request ids with symbolic names.
Disable certain ioctls on platforms where such names are not found in the
system headers.
Fix a bug in ioctl_lookup.
Reenable ioctl test on Mac.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184183 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
4f0fd8e131b6c2f13244a0fd808abe0da7a50983 10-Jun-2013 Dmitry Vyukov <dvyukov@google.com> tsan: fix lint warnings


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183642 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
1d89b676f38aa7f18aedb9995bc656a8d41ad287 07-Jun-2013 Bill Wendling <isanbard@gmail.com> Reverting r183529:

This is causing the following error on Darwin:

/Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:282:1: error: 'assertion_failed__282' declared as an array with a negative size
CHECK_TYPE_SIZE(ifconf);
^~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:223:3: note: expanded from macro 'CHECK_TYPE_SIZE'
COMPILER_CHECK(sizeof(__sanitizer_##TYPE) == sizeof(TYPE))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:239:30: note: expanded from macro 'COMPILER_CHECK'
#define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:245:57: note: expanded from macro 'IMPL_COMPILER_ASSERT'
typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
^~~~~~~~~~~~~~~
/Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:284:1: error: 'assertion_failed__284' declared as an array with a negative size
CHECK_SIZE_AND_OFFSET(ifconf, ifc_ifcu);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:228:3: note: expanded from macro 'CHECK_SIZE_AND_OFFSET'
COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:239:30: note: expanded from macro 'COMPILER_CHECK'
#define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Sandbox/llvm-clean.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:245:57: note: expanded from macro 'IMPL_COMPILER_ASSERT'
typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
^~~~~~~~~~~~~~~



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183557 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
4757c47ba7356aec3a7d49e5e929c19159d75a01 07-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Handle SIOCGIFCONF ioctl.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183529 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
4ce6f79a13d9e22003324dca842d03108b333a58 07-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix Android build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
745dd0d296e7bef712df4b5c7f86c72534953738 07-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] ioctl interceptor.

ASan: disabled by default
MSan: enabled by default
TSan: disabled


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
00c35cfe108797f6677252fd77214c0cbccb5c5b 31-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix wrong size of addrinfo::ai_addrlen.

Add compile time tests for sizes and offsets of all sanitizer-posix types.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182993 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
512c616cacf70ca029a2bf719a482b902f3687cd 29-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix getaddrinfo interceptor to use the actual returned sockaddr size.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
9666d89b628867b2c790d5415f0371fdb4050b0c 29-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Move TSan and MSan recvmsg interceptors to common.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182843 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
0a2cc37712a452525f9f03b3bf67b1f0a97c8d3a 23-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Interceptors for gethostbyname and friends.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182573 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
447ef19d1b8cebbeaba49e4be22ac721448dcf3e 22-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] getaddrinfo & nested interceptor support.

Multiple connected changes:
- Ignore reads from nested interceptors.
- Check shadow on reads from common interceptors.
- getaddrinfo interceptor.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182466 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
0228452463054a4b0489ebd9c057962cbe583831 17-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix gcc build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182094 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
1aad6b5444207887ecea2b9e87526585d1ce0592 17-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Unpoison dlpi_name in dl_iterate_phdr interceptor.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182093 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
9530eb721dfacdf2c3f46d408e22d3f7cf8be667 23-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept inet_pton and inet_ntop.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
103a63ed3fb5511516b55ce1ee4f33290209f3d8 23-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept getgrnam{_r}, getgrgid{_r}.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
897a4ae31f5c55255c78854b69b4cd4a4e3c7c39 09-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Interceptors for wait*.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179096 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
4fb04a8445076debf51d220f75211584b89043c8 04-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Android lacks ucontext_t definition.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178756 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
072770202bb1002172abe9a4b1eeb7f2d2fb004f 04-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Use ucontext_t instead of "struct ucontext".

Fixes Mac build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178755 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
06658ea68c4912fffafef6e65f36dce7faa4a174 04-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Unpoison siginfo_t and ucontext_t in signal handlers.

Add wrappers for all user signal handlers to unpoison the handler's arguments.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
46f9395baf65e17f1a3f7a3a1deee72a1560ac53 03-Apr-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Kill the remainders of platform defines in favor of SANITIZER_ defines

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178627 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
e4bdda51b3469aa0f6ef6f6c4656419effa48038 01-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] More interceptors.

getpwnam, getpwuid, getpwnam_r, getpwuid_r, clock_getres, clock_gettime,
clock_settime, getitimer, setitimer, sigaction (MSan).



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178465 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
24e13723f8477d8c42ab8b2a7f4f69fc089842f1 19-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Replace more platform checks with SANITIZER_ constants.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
e4cded90e63cfe6c59d438dec63b6665f774ac16 14-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] No dirent64 on Android.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177071 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
e4af4d280729da44d03576dac0bb903901a7caec 14-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Add changes missing from r177065.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177067 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
10fd3227546d17c7411241a45ebc143b2031c78d 13-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Increase stack size as required.

Adjust stack size in pthread_attr_t when the app-requested size does not fit MSan TLS.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176939 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
b711ca6e040d0ac4adb79e688e1a59afcc871d20 19-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix Android build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175503 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
9358c58d0aaf1b20f17362af354d4c3c1309276a 19-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Add interceptors for localtime and friends.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc