inotify_init() is better to be replaced by inotify_init1() with IN_CLOEXEC flag to avoid file descriptor leakage.
Details
Details
- Reviewers
alexfh aaron.ballman hokein - Commits
- rG2e6f9a16f936: [clang-tidy] Add a close-on-exec check on inotify_init() in Android module.
rCTE310861: [clang-tidy] Add a close-on-exec check on inotify_init() in Android module.
rL310861: [clang-tidy] Add a close-on-exec check on inotify_init() in Android module.
Diff Detail
Diff Detail
- Repository
- rL LLVM