commit | 36a11779355de65dcdcc1cecce8bbfcdc61cf802 | [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 | 3a5651e2dd13b885bf8f1697140dc7e1739321e0 | |
parent | 7539f1114989c597b22af96462e1beb818ea427e [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