[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
8 files changed