From: Mark Wooding Date: Tue, 13 Mar 2012 21:30:14 +0000 (+0000) Subject: noip.c: Allow PF_NETLINK sockets. X-Git-Tag: 1.0.8^0 X-Git-Url: https://git.distorted.org.uk/~mdw/preload-hacks/commitdiff_plain/41c50995980b38e335de811c45581526f797685d noip.c: Allow PF_NETLINK sockets. Anything fiddling with them probably knows what its doing. Chromium fails unless it can get one. --- diff --git a/debian/changelog b/debian/changelog index b1c2e21..395f74c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +preload-hacks (1.0.8) experimental; urgency=low + + * Allow PF_NETLINK sockets, since Chromium is getting more ambitious. + + -- Mark Wooding Tue, 13 Mar 2012 21:27:52 +0000 + preload-hacks (1.0.7) experimental; urgency=low * Fix bashism (`export VAR=VALUE') in driver scripts. diff --git a/noip.c b/noip.c index 1dac168..7a1b1b4 100644 --- a/noip.c +++ b/noip.c @@ -841,6 +841,9 @@ int socket(int pf, int ty, int proto) pf = PF_UNIX; proto = 0; case PF_UNIX: +#ifdef PF_NETLINK + case PF_NETLINK: +#endif return real_socket(pf, ty, proto); default: errno = EAFNOSUPPORT;