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
1 Hi!
2
3 On Thu, 29 Jan 2009, Tobias Klausmann wrote:
4 > I tried understanding what glibc 2.9 does regarding dns lookups,
5 > but since it involves a rather complex (and probably quite
6 > clever) queueing mechanism, I'm not quite sure I wouldn't break
7 > more than I fix in doing so.
8
9 Apparently, it's enough to not export gethostbyname4() to fix
10 this.
11
12 I'll try building a glibc-2.9_p20081201-r1 plus this patch:
13 http://pasky.or.cz/~pasky/dev/glibc/glibc-2.10-dns-no-gethostbyname4.diff
14
15 If it works, I'll test drive it for a while and report back.
16
17 Regards,
18 Tobias
19
20 --
21 if(ct<0)
22 ct=2; /* Shit happens.. */
23 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>