* Overrides socket(2) to set SOCK_CLOEXEC by default. */
| 34 | * Overrides socket(2) to set SOCK_CLOEXEC by default. |
| 35 | */ |
| 36 | int __wrap_socket(int domain, int type, int protocol) noexcept { |
| 37 | return __real_socket(domain, type | SOCK_CLOEXEC, protocol); |
| 38 | } |
| 39 | |
| 40 | /* |
| 41 | * Overrides accept(2) to set SOCK_CLOEXEC by default. |
nothing calls this directly
no outgoing calls
no test coverage detected