commit | 497ad3a7f16dd94540aceb1b9a13ca70c72e085b | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Aug 16 17:18:16 2017 +0000 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Aug 21 11:57:43 2017 -0700 |
tree | e080d092caae713a1452f1ec3e956e9f67cface5 | |
parent | 75bd93aa98d2bf53fa02e8f284933e80490b44e3 [diff] |
[clang-tidy] Add a close-on-exec check on accept() in Android module. Summary: accept() is better to be replaced by accept4() with SOCK_CLOEXEC flag to avoid file descriptor leakage. Differential Revision: https://reviews.llvm.org/D35362 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@311024 91177308-0d34-0410-b5e6-96231b3b80d8