diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-08-16 17:18:16 +0000 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-08-16 17:18:16 +0000 |
commit | ae3527e6bbe8d8de2ff0fa62b1352f7d3371d6f1 (patch) | |
tree | 1a6d6496ee59ed126834a73b89fb78f45cfb1c1b /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 71ecaa19ff0a6f63b1e0c9fa6d28f5fa84b8072d (diff) | |
download | bcm5719-llvm-ae3527e6bbe8d8de2ff0fa62b1352f7d3371d6f1.tar.gz bcm5719-llvm-ae3527e6bbe8d8de2ff0fa62b1352f7d3371d6f1.zip |
[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
llvm-svn: 311024
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions