1 .. title:: clang-tidy - android-cloexec-accept
6 The usage of ``accept()`` is not recommended, it's better to use ``accept4()``.
7 Without this flag, an opened sensitive file descriptor would remain open across
8 a fork+exec to a lower-privileged SELinux domain.
14 accept(sockfd, addr, addrlen);
18 accept4(sockfd, addr, addrlen, SOCK_CLOEXEC);