[clang-tidy] Add a close-on-exec check on inotify_init() in Android module.

Summary:
inotify_init() is better to be replaced by inotify_init1() with IN_CLOEXEC flag to avoid file descriptor leakage.

Differential Revision: https://reviews.llvm.org/D35370



git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@310861 91177308-0d34-0410-b5e6-96231b3b80d8
8 files changed