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