commit | f4ded742032c3c8f9ae924d8f509f2d61c162cb9 | [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 | 7de01615b7fc6fc53574c84d96b03cb68a60daed | |
parent | 6826db645b099d305a5cafbea9d13f88723e7c05 [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