accept() is better to be replaced by accept4() with SOCK_CLOEXEC flag to avoid file descriptor leakage.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LG with a nit.
clang-tidy/android/CloexecAcceptCheck.cpp | ||
---|---|---|
42 ↗ | (On Diff #110758) | Two minor issues here:
|
clang-tidy/android/CloexecAcceptCheck.cpp | ||
---|---|---|
42 ↗ | (On Diff #110758) | Done. |