Go to file
Jeff Brown e7d54f80cb Fix issues related to removing Looper callbacks after close.
When a file descriptor is closed before removing it from the
epoll set, it will normally be removed automatically from the
epoll set by the kernel.  However if there exists a duplicate
then the original file descriptor may remain in the set and
continue to receive events until all duplicates have been closed.

Unfortunately due to kernel limitations we need to rebuild the epoll
set from scratch because it may contain an old file handle that we are
now unable to remove since its file descriptor is no longer valid.
No such problem would have occurred if we were using the poll system
call instead, but that approach carries others disadvantages.

Bug: 19715279
Change-Id: If1ab8ebda0825755a416d513e888942a02ee3948
2015-03-12 19:44:49 -07:00
adb Fix build from -Werror=maybe-uninitialized. 2015-03-10 14:00:52 -07:00
adf libadf: enable -Werror 2015-03-10 15:14:38 -07: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 am fcd14f13: am 9fabbbfb: Merge "Do not call libcutils property_set in init through libfs_mgr" 2015-03-11 23:02:32 +00: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 Fix issues related to removing Looper callbacks after close. 2015-03-12 19:44:49 -07:00
init resolved conflicts for merge of 5ebc2f5b to master 2015-03-12 16:57:31 -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 Fix issues related to removing Looper callbacks after close. 2015-03-12 19:44:49 -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