8 Dec
2016
8 Dec
'16
6:41 p.m.
Am 2016-12-07 um 06:27 schrieb Bruno Jesus:
@@ -2433,6 +2438,12 @@ static int WS2_send( int fd, struct ws2_async *wsa, int flags ) union generic_unix_sockaddr unix_addr; int n, ret;
+ if (network_disabled) + { + errno = EHOSTUNREACH; + return -1; + } + Shouldn't it be possible to achieve a similar effect with a LD_PRELOAD library?