commit | a7ba9ff00b0bfa37dfec16d0fa28b8eabe4715f4 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Thu Oct 20 14:09:40 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Thu Nov 03 06:08:55 2016 +0000 |
tree | bb7d8bd9e382389006c185b581a6d6ab6c546b86 | |
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