diff options
| author | Robert Sesek <rsesek@google.com> | 2017-01-25 08:08:51 -0500 |
|---|---|---|
| committer | Robert Sesek <rsesek@google.com> | 2017-01-25 08:08:51 -0500 |
| commit | ca2da60206063f077a73a08e262c94b377b6c929 (patch) | |
| tree | 4a9b6936b621e018287be022ceb4f208683ba32b /libcutils/socket_local_server_unix.cpp | |
| parent | 894f3ea7cb030efce805fc50b03aef46f6bf37de (diff) | |
Ensure property_set connection sockets are CLOEXEC.
When handling a property control message to start a service, the
connection socket was being left open. The child socket FD would then be
inherited by the service from init as "/null".
Bug: 34698883
Test: adb shell start webview_zygote32; adb shell ls -l /proc/<pid>/fd,
no "/null" FD open.
Change-Id: I25f34e1bfc1414e6143acf23414b05f5a241cace
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions
