No description
2c5e7e102b
It looks like there were a couple problems in the code: - It would not 0-terminate the string it read, to make sure we didn't see garbage at the end. - It didn't reduce buf_len as it processes data in the buffer, so if we need to read more we will increase the buffer length to be longer than the actual available data. Also put in some logs about every thing we kill, so we can see what is going on when debugging. And add a special check for us trying to kill pid 0 for any reason, since doing so seem to be terminal to the caller. Change-Id: I2fe29bfef08938b8a2eb182475c0705c14d8d84f |
||
---|---|---|
adb | ||
adf | ||
cpio | ||
debuggerd | ||
fastboot | ||
fastbootd | ||
fs_mgr | ||
gpttool | ||
healthd | ||
include | ||
init | ||
libbacktrace | ||
libcutils | ||
libdiskconfig | ||
libion | ||
liblog | ||
libmemtrack | ||
libmincrypt | ||
libnativebridge | ||
libnetutils | ||
libpixelflinger | ||
libprocessgroup | ||
libsparse | ||
libsuspend | ||
libsync | ||
libsysutils | ||
libusbhost | ||
libutils | ||
libziparchive | ||
libzipfile | ||
lmkd | ||
logcat | ||
logd | ||
logwrapper | ||
mkbootimg | ||
netcfg | ||
reboot | ||
rootdir | ||
run-as | ||
sdcard | ||
toolbox | ||
.gitignore | ||
Android.mk | ||
CleanSpec.mk | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE | ||
README | ||
ThirdPartyProject.prop |
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