commit | 42bc830f297872e525d1ad84647560186d44c966 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Aug 14 17:25:41 2017 +0000 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Aug 21 11:56:31 2017 -0700 |
tree | 4c50bf648a77650d9f450c038bbbb2b119770088 | |
parent | b420744209241a7f88f43647e26bd9b7419b9258 [diff] |
[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