commit | 7f89729b4eb9d9eafed9df257be1fafba29e4217 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Jul 30 14:47:25 2019 -0700 |
committer | Josh Gao <jmgao@google.com> | Tue Jul 30 14:48:57 2019 -0700 |
tree | fddc482a0e1ee46f17245fe798d9c9a664ea9919 | |
parent | aa970888043d513d51fee5e15bdb01cbd473ac95 [diff] |
adb: avoid leaking pty master FDs. Reimplement openpty with O_CLOEXEC to avoid accidentally leaking pty master FDs. Bug: http://b/138297062 Test: manual Change-Id: I6d83c909232a95c9f03370f078aec7b0911d7369