diff options
author | Tianjie Xu <xunchang@google.com> | 2016-10-20 14:09:40 -0700 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2016-11-03 06:08:55 +0000 |
commit | a7ba9ff00b0bfa37dfec16d0fa28b8eabe4715f4 (patch) | |
tree | bb7d8bd9e382389006c185b581a6d6ab6c546b86 /libutils/ProcessCallStack.cpp | |
parent | a1ec23634ab0f4f9cba8788b728d869007cd6ff7 (diff) |
DO NOT MERGE:Add missing SOCK_CLOEXEC flag when opening socket
Go through the code that opens socket in marshmallow, and backport the
SOCK_CLOEXEC usage for AF_NETLINK. In kitkat, SOCK_CLOEXEC is not defined;
therefore I used O_CLOEXEC instead.
Bug: 31242981
Test: mma
Change-Id: I792024c16b84ba3d6666d3df6002c89e0028f4b0
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions