bionic/libc
Mor-sarid, Nitzan 569333293a Fix the way to get main thread stack start address.
For previous way to get the stack using the [stack] string from
/proc/self/task/<pid>/maps is not enough. On x86/x86_64, if an
alternative signal stack is used while a task switch happens,
the [stack] indicator may no longer be correct.

Instead, stack_start from /proc/self/stat which is always inside
the main stack, is used to find the main stack in /proc/self/maps.

Change-Id: Ieb010e71518b57560d541cd3b3563e5aa9660750
Signed-off-by: Nitzan Mor-sarid <nitzan.mor-sarid@intel.com>
Signed-off-by: Mingwei Shi <mingwei.shi@intel.com>
2015-09-16 11:45:13 -07:00
..
arch-arm Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
arch-arm64 Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
arch-common/bionic Properly align init/fini_arrays for crtend.o 2015-05-07 11:57:53 -07:00
arch-mips Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
arch-mips64 Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
arch-x86 Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
arch-x86_64 Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
bionic Fix the way to get main thread stack start address. 2015-09-16 11:45:13 -07:00
dns Fix alignment after variable-length data. 2015-07-06 14:43:28 -07:00
include CMSG_DATA should return an unsigned char*. 2015-09-11 09:47:27 -07:00
kernel Update to v3.18.21 kernel headers. 2015-09-02 17:23:31 -07:00
private Add a TLS slot for TSAN. 2015-08-18 15:09:00 -07:00
stdio Don't use TEMP_FAILURE_RETRY on close in bionic. 2015-05-15 16:20:07 -07:00
stdlib name the atexit handler pages 2015-07-27 11:04:58 -07:00
tools Move tzdata scripts from bionic to external/icu 2015-08-24 18:25:05 +01:00
tzcode Changes to re-enable overrides for tz data 2015-03-25 16:08:37 +00:00
upstream-dlmalloc Return total footprint, not high water mark. 2014-10-13 12:45:35 -07:00
upstream-freebsd Move several FreeBSD functions to OpenBSD. 2015-09-14 19:01:58 -07:00
upstream-netbsd Sync with upstream NetBSD lib/libc/regex. 2015-09-14 18:45:52 -07:00
upstream-openbsd Move several FreeBSD functions to OpenBSD. 2015-09-14 19:01:58 -07:00
zoneinfo Update timezone data to 2015f 2015-08-25 12:46:33 +01:00
Android.mk Merge "Move several FreeBSD functions to OpenBSD." 2015-09-15 15:13:35 +00:00
crt.mk Make .note.android.ident section type SH_NOTE 2015-02-12 21:37:20 -08:00
libc.map Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
MODULE_LICENSE_BSD
NOTICE Regenerate NOTICE files. 2015-08-28 20:23:52 -07:00
SYSCALLS.TXT Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
version_script.txt Revert "Fix volantis boot." 2015-05-07 15:12:24 -07:00