commit | 2113caeae7576a9207d65a86afe87d151e3c496e | [log] [tgz] |
---|---|---|
author | Abhijeet Kaur <abkaur@google.com> | Fri Sep 13 09:24:15 2019 +0100 |
committer | Abhijeet Kaur <abkaur@google.com> | Fri Sep 13 09:49:36 2019 +0100 |
tree | 0e3dc68f54494393469f3931293b31da7b195343 | |
parent | ebbe2c45fb7b98868411f58b31cb5f9e791a24de [diff] |
Set close-on-exec flag for bugreportz socket in dumpstate dumpstate triggers lshal child processes, bugreportz connection socket fd in dumpstate is passed on to these processes. Set close-on-exec flag allows to close the socket connection from dumpstate, even if child processes do not terminate. Test: `adb bugreport` `adb bugreport BR.zip` works as expected Bug: 140713872 Change-Id: I4aa07a60110da383110e2e9091c72403351ac3dc