platform_system_core/adb
Benoit Goby 95ef82866c Fix adb leaking file descriptors to forked processes
accept() creates a new file descriptor that should be closed on exec so
that forked processes don't keep a fd opened on the socket.

This also fixes b/3297070 where adb hangs after running adb on the
target.

Change-Id: I8df511289e5549ae49b4824c9dfb71a3bf85eae8
2011-02-02 14:14:09 -08:00
..
adb.c Fix adb leaking file descriptors to forked processes 2011-02-02 14:14:09 -08:00
adb.h Build adb for target-as-host 2010-10-05 16:08:19 -07:00
adb_client.c Make adb's daemon-port on the host machine configurable. 2010-04-28 11:38:34 -04:00
adb_client.h Make adb's daemon-port on the host machine configurable. 2010-04-28 11:38:34 -04:00
Android.mk dist for dist_files 2010-12-09 10:33:27 -08:00
commandline.c adb: Fix command-line parser. 2011-01-31 14:23:56 +01:00
console.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
fdevent.c Cleaning up whitespace in adb sources. Nothing more, nothing less. 2009-05-18 17:36:28 +02:00
fdevent.h Cleaning up whitespace in adb sources. Nothing more, nothing less. 2009-05-18 17:36:28 +02:00
file_sync_client.c adb: Don't report negative number of bytes after pushing file > 2 gigabytes 2010-12-14 23:08:43 -08:00
file_sync_service.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
file_sync_service.h adb: Improved detection of big endian architecture 2010-10-16 14:35:28 +02:00
framebuffer_service.c update adbd to use the new screencap command for taking screenshots. 2010-09-26 18:44:28 -07:00
get_my_path_darwin.c eclair snapshot 2009-11-12 18:46:23 -08:00
get_my_path_freebsd.c FreeBSD support for usb-connected devices in adb 2009-10-25 01:56:35 +11:00
get_my_path_linux.c Make get_my_path() safer 2009-10-22 02:55:00 +11:00
get_my_path_windows.c Make get_my_path() safer 2009-10-22 02:55:00 +11:00
jdwp_service.c Fix adb leaking file descriptors to forked processes 2011-02-02 14:14:09 -08:00
log_service.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
MODULE_LICENSE_APACHE2 eclair snapshot 2009-11-12 18:46:23 -08:00
mutex_list.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE eclair snapshot 2009-11-12 18:46:23 -08:00
OVERVIEW.TXT Fixing spelling errors in adb docs 2010-04-28 11:38:39 -04:00
protocol.txt Cleaning up whitespace in adb sources. Nothing more, nothing less. 2009-05-18 17:36:28 +02:00
remount_service.c Fix adb remount on non-MTD devices 2010-05-24 11:27:16 -04:00
services.c Fix adb leaking file descriptors to forked processes 2011-02-02 14:14:09 -08:00
SERVICES.TXT Fixing spelling errors in adb docs 2010-04-28 11:38:39 -04:00
sockets.c adb: optimize socket-list-walking code 2010-06-14 09:59:34 -07:00
sockets.dia auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sysdeps.h Fix adb leaking file descriptors to forked processes 2011-02-02 14:14:09 -08:00
sysdeps_win32.c eclair snapshot 2009-11-12 18:46:23 -08:00
test_track_devices.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
test_track_jdwp.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
transport.c adb: improve debug traces readability. 2011-01-06 14:11:07 +01:00
transport_local.c adb: Improved detection of big endian architecture 2010-10-16 14:35:28 +02:00
transport_usb.c adb: Improved detection of big endian architecture 2010-10-16 14:35:28 +02:00
usb_libusb.c FreeBSD support for usb-connected devices in adb 2009-10-25 01:56:35 +11:00
usb_linux.c adb: Increase device descriptor buffer size in Linux host USB support 2011-01-07 23:18:14 -05:00
usb_linux_client.c eclair snapshot 2009-11-12 18:46:23 -08:00
usb_osx.c eclair snapshot 2009-11-12 18:46:23 -08:00
usb_vendors.c Adding Texas Instruments to the VID list. 2010-12-13 14:26:18 -08:00
usb_vendors.h Support for 3rd party USB Vendor IDs in adb. 2009-05-22 15:25:25 -07:00
usb_windows.c eclair snapshot 2009-11-12 18:46:23 -08:00
utils.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
utils.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00