summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/android-cloexec-socket.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Add a new Android check "android-cloexec-socket"Yan Wang2017-07-121-0/+75
Summary: socket() is better to include SOCK_CLOEXEC in its type argument to avoid the file descriptor leakage. Reviewers: chh, Eugene.Zelenko, alexfh, hokein, aaron.ballman Reviewed By: chh, alexfh Subscribers: srhines, mgorny, JDevlieghere, xazax.hun, cfe-commits Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D34913 llvm-svn: 307818
OpenPOWER on IntegriCloud