No description
Find a file
Josh Gao 9b3fd67213 adb: don't use setenv after forking.
Previously, for `adb shell`, we were using setenv after forking to set
up the child's environment. This would occasionally deadlock in the
child, which would cause the main thread to deadlock waiting for the
child to complete. This patch constructs the environment before forking
and passes it to execle, eliminating the deadlock.

Bug: http://b/25847115
Change-Id: I720d472770564b1449819ddaab945a89844244a8
2015-12-11 15:10:12 -08:00
adb adb: don't use setenv after forking. 2015-12-11 15:10:12 -08:00
adf Adf: Remove unused variable 2015-07-27 22:08:16 -07:00
base Rename base/ to android-base/. 2015-12-07 14:31:53 -08:00
cpio fs_config: replace getenv('OUT') by new fs_config parameter 2015-07-09 21:47:07 -07:00
crash_reporter crash_reporter: use libmetricscollectorservice for user crash event reports 2015-12-10 13:34:10 -08:00
debuggerd Merge "Switch from using sockaddr to sockaddr_storage." 2015-12-08 01:41:38 +00:00
fastboot Merge "fastboot: Re-add set_active as a command." 2015-12-10 00:54:01 +00:00
fingerprintd Fingerprint: Add HAL close() code 2015-07-10 16:26:32 -07:00
fs_mgr Merge "fs_mgr: support upstream dm-verity without error correction" 2015-12-10 20:13:02 +00:00
gatekeeperd Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
healthd Merge "healthd: Support new PD and USB Type C types" 2015-11-13 17:39:54 +00:00
include Merge "logd: liblog: logcat: Add LOG_ID_SECURITY" 2015-12-11 17:33:33 +00:00
init Merge "Set up dm-verity in EIO mode instead of logging mode" 2015-12-10 20:12:49 +00:00
libbacktrace libbacktrace: check if elf file paths are valid before reading them. 2015-12-08 19:22:29 -08:00
libbinderwrapper libbinderwrapper: Add GetCallingUid() and GetCallingPid(). 2015-10-16 09:04:33 -06:00
libcutils Listen on dualstack sockets. 2015-12-07 16:09:39 +09:00
libdiskconfig
libion
liblog Merge "logd: liblog: logcat: Add LOG_ID_SECURITY" 2015-12-11 17:33:33 +00:00
libmemtrack Remove a hack for getting libpagerank's headers. 2015-09-22 22:35:30 -07:00
libmincrypt Enable clang compilation. 2015-05-14 10:53:48 -07:00
libnativebridge Use __ANDROID__ instead of HAVE_ANDROID_OS. 2015-07-30 09:33:43 -07:00
libnativeloader Apply permitted path to the classloader-namespace 2015-12-09 15:39:36 -08:00
libnetutils am fb1ecbc5: am e6e71608: Merge "Use __ANDROID__ instead of HAVE_ANDROID_OS." 2015-07-30 16:50:15 +00:00
libpackagelistparser packagelistparser: rename to libpackagelistparser 2015-11-05 12:12:38 -08:00
libpixelflinger Add explicit cast to shut off clang warnings. 2015-11-23 09:07:16 -08:00
libprocessgroup processgroup: change the polling interval for killProcessGroup() 2015-06-16 13:59:32 -07:00
libsparse Fix parameter to lseek 2015-10-20 14:15:31 -07:00
libsuspend Adds a parameter to the wakeup_callback to report sucessful wakeup or suspend aborts. 2015-06-25 13:15:22 -07:00
libsync Fix isValid() condition for libsync tests 2015-11-05 10:07:53 -08:00
libsysutils Switch from using sockaddr to sockaddr_storage. 2015-12-07 16:07:46 +09:00
libusbhost libusbhost: Fix problem reading USB string descriptors on some quirky devices 2015-06-18 13:38:31 -07:00
libutils libutils: fix cache removal when callback invalidates the key 2015-11-20 14:54:51 +00:00
libziparchive Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
lmkd Switch from using sockaddr to sockaddr_storage. 2015-12-07 16:07:46 +09:00
logcat Merge "logd: liblog: logcat: Add LOG_ID_SECURITY" 2015-12-11 17:33:33 +00:00
logd Merge "logd: liblog: logcat: Add LOG_ID_SECURITY" 2015-12-11 17:33:33 +00:00
logwrapper am eaf04aa0: am 3b94cef1: Merge "Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h" 2015-08-22 02:40:51 +00:00
metricsd metrics_collector: add libmetricscollectorservice binder service 2015-12-10 13:34:10 -08:00
mkbootimg mkbootimg: misc typo fixes 2015-06-04 09:59:01 -07:00
reboot
rootdir Merge "rootdir: Execute update_verifier for A/B update." 2015-12-09 19:50:31 +00:00
run-as Fix the run-as environment to better match su. 2015-11-03 14:31:46 -08:00
sdcard sdcard: use libpackageparser 2015-10-22 22:52:35 +00:00
toolbox Improve top(1) compatibility and interactive usefulness. 2015-11-13 08:30:12 -08:00
trusty/libtrusty Merge "Revert "[core][trusty] add gatekeeper module"" 2015-09-16 22:54:14 +00:00
tzdatacheck Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk
CleanSpec.mk
MODULE_LICENSE_APACHE2
NOTICE