commit | 3b4a0c81c4f2af46e6075f1150dcde55d436c7a6 | [log] [tgz] |
---|---|---|
author | Benoit Goby <benoit@android.com> | Tue Feb 01 18:57:41 2011 -0800 |
committer | Mike Lockwood <lockwood@android.com> | Thu Feb 03 15:26:45 2011 -0500 |
tree | 2f785ec4dda4ad1ca5ed5f5682bb8e18b68688f0 | |
parent | eb5df470e6e0402006030b76315f06bcb4f17882 [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