No description
Find a file
Jeff Brown 7a0310ef67 Fixed subtle bugs related to file descriptor recycling.
Added code to protect against situations that may occur when a
Looper callback has the side-effect of closing the file descriptor that
it is watching before it returns.  This code pattern is very
convenient for implementation but it does expose issues in how
the list of callbacks is maintained.  In particular, we
need to watch out for file descriptors which have been reused.

This change may resolve previously unexplained ANRs associated with
log messages such as: "Error modifying epoll events for fd 44, errno=2"

Bug: 10349083
Change-Id: I20eedf6ffbdeda382653ca0104962505194741b0
2015-03-11 15:00:36 -07:00
adb Fix build from -Werror=maybe-uninitialized. 2015-03-10 14:00:52 -07:00
adf Add missing includes. 2015-01-29 21:31:23 -08:00
cpio cpio: Turn on -Werror 2014-05-23 09:48:09 -07:00
debuggerd Add backtrace support for mips64. 2015-03-09 18:43:10 -07:00
fastboot am 0beef09b: am 58b81bf8: am a82f2b25: Merge "Support "fastboot reboot bootloader"." 2015-02-25 18:57:43 +00:00
fs_mgr fs_mgr: recognize a notrim mountpoint flag 2015-03-05 17:30:53 -08:00
gpttool gpttool: turn on -Werror 2014-05-05 10:30:04 -07:00
healthd Fix print format mismatch in 64-bit mode. 2015-02-24 10:50:41 -08:00
include Fixed subtle bugs related to file descriptor recycling. 2015-03-11 15:00:36 -07:00
init Parse boot properties from device tree 2015-03-10 13:28:48 -07:00
libbacktrace Move map data into backtrace data proper. 2015-02-06 15:00:09 -08:00
libcutils am 6864e673: Merge "More SOCK_CLOEXEC" 2015-02-27 23:19:11 +00:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion am 2e14f617: am 06b4e982: Merge "Add missing <malloc.h> and <string.h> includes." 2015-01-28 22:08:15 +00:00
liblog Generate gnu hash for arm only 2015-03-10 09:47:23 -07:00
libmemtrack Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
libmincrypt Disable clang optimization that has segmentation fault. 2014-12-17 14:59:53 -08:00
libnativebridge am 0d385d1c: Merge "Track renaming of initUnchangeableSystemProperty." 2015-02-10 16:54:35 +00:00
libnetutils More SOCK_CLOEXEC 2015-02-26 13:32:52 -08:00
libpixelflinger Remove obsolete BUILD_TINY_ANDROID. 2015-01-24 22:39:10 -08:00
libprocessgroup Fix missing #includes in system/core. 2014-12-29 12:24:25 -08:00
libsparse Cleanup libsparse Android.mk 2014-12-12 04:19:27 +00:00
libsuspend Libsuspend: Remove unused variable 2014-11-24 18:53:44 -08:00
libsync Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
libsysutils Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
libusbhost am 0d8943c2: am e4c5b614: Merge "libusbhost: Fix IOCTL call during usb_request_cancel" 2014-08-12 21:05:43 +00:00
libutils Fixed subtle bugs related to file descriptor recycling. 2015-03-11 15:00:36 -07:00
libziparchive Remove some more gotos 2015-03-06 14:26:37 -08:00
libzipfile Clean up libzipfile Android.mk 2014-12-05 15:59:03 +00:00
lmkd Lmkd: Fix unused variables 2014-11-24 20:32:42 -08:00
logcat logcat: remove dead label code 2015-03-04 13:21:42 -08:00
logd logd: build cleanup 2015-03-09 10:02:51 -07:00
logwrapper Put in line breaks when logging to klog 2015-02-03 17:06:33 +00:00
mkbootimg mkbootimg: turn on -Werror 2014-05-05 10:30:04 -07:00
netcfg Remove netcfg's unused options. 2015-02-03 11:59:22 -08:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir am 20dc9c01: am 1dd71ae1: am f33c3bc9: Merge "init: drop dontpanic & apanic initialization" 2015-02-27 19:44:46 +00:00
run-as run-as: build 1161573 failure 2014-05-08 21:18:23 +00:00
sdcard sdcard : inode numbers must be fully representable as uint32_t. 2015-01-15 11:58:53 +00:00
toolbox am ed5b81c9: Merge "Fix LP32 build." 2015-03-10 15:03:41 +00: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 Extend to receive NFLOG packets. 2015-01-15 12:50:59 -08: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