No description
Find a file
Igor Murashkin 63fbdb6440 libutils: Don't segfault ProcessCallStack when getting thread name fails
There's an inherent race in trying to read out the thread name from
the system and the thread closing out on its own (and thus being removed
from procfs).

Try to handle this by formatting the thread name unconditionally with
the tid when getting the thread name fails (instead of dereferencing
NULL and crashing).

Bug: 15406837
Change-Id: Ibf2208b8ce345589e7e9c57e6a307728d1121c5d
2014-08-19 11:48:52 -07:00
adb Fix build of adb with gcc-4.9. 2014-08-06 10:59:53 -07:00
adf libadf: silence false positive warning 2014-05-07 15:27:59 -07:00
cpio cpio: Turn on -Werror 2014-05-23 09:48:09 -07:00
debuggerd Do not suppress maps dump when si_addr<PAGE_SIZE 2014-08-11 10:01:58 -07:00
fastboot fastboot: add the support of the second stage image [DO NOT MERGE] 2014-08-15 21:21:09 -07:00
fastbootd Judge mmap failed by MAP_FAILED instead of NULL 2014-05-22 12:51:39 +08:00
fs_mgr [HACK]fs_mgr+init: Format via recovery if encryptable /data is wiped 2014-07-02 14:28:50 -07:00
gpttool gpttool: turn on -Werror 2014-05-05 10:30:04 -07:00
healthd healthd: charger: fix check for charger connected to enter suspend 2014-08-18 14:32:14 -07:00
include Merge "Add trace tag for power management." into lmp-dev 2014-08-15 18:45:09 +00:00
init Clarify init's write command. 2014-07-25 15:49:44 -07:00
libbacktrace Add uncached argument to BacktraceMap::Create on darwin 2014-08-05 00:48:45 -07:00
libcutils Remove invalid 64-bit host objects. 2014-07-25 10:39:38 -07:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion libion: Turn on -Werror 2014-05-21 12:58:38 -07:00
liblog Remove invalid 64-bit host objects. 2014-07-25 10:39:38 -07:00
libmemtrack system/core 64-bit cleanup. 2014-01-16 12:54:18 -08:00
libmincrypt Remove declaration of unused static variable 2014-05-12 17:47:39 +02:00
libnativebridge Switch libnativebridge to clang 2014-08-15 18:48:53 +01:00
libnetutils Add a comment to not delete seemingly unused code. 2014-07-23 11:33:36 -07:00
libpixelflinger Build pixelflinger tests as native tests, not executables. 2014-06-26 13:22:44 +01:00
libprocessgroup Add libprocessgroup 2014-07-09 17:24:39 -07:00
libsparse am d4d09637: am db32e788: am a2b03c4a: Merge "libsparse: turn on -Werror" 2014-05-08 21:43:07 +00:00
libsuspend am 1291df76: am c5fa4b19: am 065c2706: Merge "libsuspend: Turn on -Werror" 2014-05-22 19:21:07 +00:00
libsync Add gtest conformance tests for libsync. Not complete yet, but substantially more comprehensive than the interactive test that was there before. 2014-06-10 23:33:18 +00:00
libsysutils Support parsing netlink route messages. 2014-06-21 10:55:07 +09:00
libusbhost libusbhost: Fix IOCTL call during usb_request_cancel 2014-08-07 01:13:31 +00:00
libutils libutils: Don't segfault ProcessCallStack when getting thread name fails 2014-08-19 11:48:52 -07:00
libziparchive Prevent the accidental closure of fd[0] for missing zip files. 2014-07-28 08:41:26 +00:00
libzipfile Build host with multilib both enabled. 2014-06-05 11:42:26 -07:00
lmkd lmkd: kill a process if zoneinfo can't be read 2014-07-14 17:41:17 -07:00
logcat logcat: test: logrotate flags 2014-07-24 22:20:51 +00:00
logd logd: persistent reader threads 2014-08-08 07:40:33 -07:00
logwrapper Fix "ptsname is not thread-safe; use ptsname_r instead" build break. 2014-07-29 11:08:57 -07:00
mkbootimg mkbootimg: turn on -Werror 2014-05-05 10:30:04 -07:00
netcfg Cleanup: Delete dead code. 2014-07-22 15:00:21 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir Remove obsolete tcp buffer size system properties. 2014-08-17 15:17:00 -07:00
run-as run-as: build 1161573 failure 2014-05-08 21:18:23 +00:00
sdcard Fix sdcard truncates. 2014-07-31 12:03:03 -07:00
toolbox Refresh toolbox. 2014-07-25 10:51:19 -07:00
.gitignore Don't compile abort_socket.c for host targets. It is only intended to run on Linux targets. 2009-05-26 13:23:23 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk add cleanspec for lmkd 2014-07-10 14:26:57 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00
README auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ThirdPartyProject.prop add meta-files about 3rd party projects 2010-07-16 11:41:39 -07:00

The system/ directory is intended for pieces of the world that are the
core of the embedded linux platform at the heart of Android.  These
essential bits are required for basic booting, operation, and debugging.

They should not depend on libraries outside of system/... (some of them
do currently -- they need to be updated or changed) and they should not
be required for the simulator build.

The license for all these pieces should be clean (Apache2, BSD, or MIT).

Currently system/bluetooth/... and system/extra/... have some pieces
with GPL/LGPL licensed code.

Assorted Issues:

- pppd depends on libutils for logging
- pppd depends on libcrypt/libcrypto
- init, linker, debuggerd, toolbox, usbd depend on libcutils
- should probably rename bionic to libc