commit | 95ef82866c7a922bf588027aa38c58a45eb84d9c | [log] [tgz] |
---|---|---|
author | Benoit Goby <benoit@android.com> | Tue Feb 01 18:57:41 2011 -0800 |
committer | Benoit Goby <benoit@android.com> | Wed Feb 02 14:14:09 2011 -0800 |
tree | aa5438b9396c4a57644d316be73542585f84a59a | |
parent | 305b4b0f6069d733d3023a57fdc8a6d9cf7de2a6 [diff] |
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