* Overrides socket(2) to set SOCK_CLOEXEC by default. */
| 128 | * Overrides socket(2) to set SOCK_CLOEXEC by default. |
| 129 | */ |
| 130 | int __wrap_socket(int domain, int type, int protocol) noexcept { |
| 131 | return __real_socket(domain, type | SOCK_CLOEXEC, protocol); |
| 132 | } |
| 133 | |
| 134 | /* |
| 135 | * Overrides accept(2) to set SOCK_CLOEXEC by default. |
nothing calls this directly
no outgoing calls
no test coverage detected