HomePhabricator

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

Description

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

Summary:
epoll_create1() is better to set EPOLL_CLOEXEC flag to avoid file descriptor leakage.

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