Gentoo Archives: gentoo-dev

From: Tobias Klausmann <klausman@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Race condition in Netfilter triggered by glibc 2.9
Date: Mon, 02 Feb 2009 14:53:33
Message-Id: 20090202145250.GA28429@eric.schwarzvogel.de
In Reply to: Re: [gentoo-dev] Race condition in Netfilter triggered by glibc 2.9 by Tobias Klausmann
Hi! 

On Thu, 29 Jan 2009, Tobias Klausmann wrote:
> I tried understanding what glibc 2.9 does regarding dns lookups, > but since it involves a rather complex (and probably quite > clever) queueing mechanism, I'm not quite sure I wouldn't break > more than I fix in doing so.
Apparently, it's enough to not export gethostbyname4() to fix this. I'll try building a glibc-2.9_p20081201-r1 plus this patch: http://pasky.or.cz/~pasky/dev/glibc/glibc-2.10-dns-no-gethostbyname4.diff If it works, I'll test drive it for a while and report back. Regards, Tobias -- if(ct<0) ct=2; /* Shit happens.. */ linux-2.6.6/drivers/net/wan/z85230.c

Replies

Subject Author
Re: [gentoo-dev] Race condition in Netfilter triggered by glibc 2.9 Tobias Klausmann <klausman@g.o>