HomePhabricator

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

Description

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

Summary:
accept4() is better to set SOCK_CLOEXEC flag to avoid file descriptor leakage.

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