From owner-cvs-src@FreeBSD.ORG Thu May 8 19:21:38 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B82B11065675; Thu, 8 May 2008 19:21:38 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 6FE128FC22; Thu, 8 May 2008 19:21:38 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.3/8.14.3/NETPLEX) with ESMTP id m48JLajf011869; Thu, 8 May 2008 15:21:36 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Thu, 08 May 2008 15:21:37 -0400 (EDT) Date: Thu, 8 May 2008 15:21:36 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Alexander Kabaev In-Reply-To: <20080508144536.55a1a1d1@kan.dnsalias.net> Message-ID: References: <200805071539.m47FdYWZ033147@repoman.freebsd.org> <48224C59.7090005@FreeBSD.org> <20080508144536.55a1a1d1@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Alexander Kabaev , cvs-src@freebsd.org, src-committers@freebsd.org, Jason Evans , cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc Versions.def X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2008 19:21:38 -0000 On Thu, 8 May 2008, Alexander Kabaev wrote: > On Thu, 8 May 2008 01:55:32 -0400 (EDT) > Daniel Eischen wrote: > >> >> FYI, before I commited this change, I looked at how glibc did it. >> Their private namespace does not inherit from the GLIBC public >> namespace. But perhaps they have other ways of preventing >> exactly what kan is trying to avoid. >> > You looked at sources, I guess, not what gets generated after they run > their AWK script on it. No, I looked at the awk script, but that's not to say that I interpreted it correctly ;-) > $ readelf -V /compat/linux/lib/libc-2.3.6.so > ... > Version definition section '.gnu.version_d' contains 18 entries: > Addr: 0x0000000000011b40 Offset: 0x011b40 Link: 4 (.dynstr) > 000000: Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: libc.so.6 > 0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: GLIBC_2.0 > 0x0038: Rev: 1 Flags: none Index: 3 Cnt: 2 Name: GLIBC_2.1 > 0x0054: Parent 1: GLIBC_2.0 > ... > 0x0230: Rev: 1 Flags: none Index: 17 Cnt: 2 Name: GLIBC_PRIVATE > 0x024c: Parent 1: GLIBC_2.3.4 -- DE