Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2003 18:24:41 -0400 (EDT)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: `Hiding' libc symbols
Message-ID:  <Pine.GSO.4.10.10305051821380.3867-100000@pcnet1.pcnet.com>
In-Reply-To: <20030505221641.GA42722@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 May 2003, Andrey A. Chernov wrote:

> On Mon, May 05, 2003 at 18:02:42 -0400, Daniel Eischen wrote:
> > 
> > Can't you still do what you want even with the standard symbols
> > hidden?
> 
> If you mean to produce linker error for replaced standard functions in
> current hiding model (i.e. for threads) - I don't know - threads
> implementation is completely unknown to me to deal with.

The threads libraries don't have any strong symbols that
don't begin with an underscore:

  $ nm /usr/obj/.../lib/libc_r/libc_r.so.5 | grep " T "

If libc also doesn't have any strong symbols (at least for
the functions you want to check), then I suppose you can
check the linked application for these (strong) definitions.
I don't know how to do it myself, but this may give you some
idea.

-- 
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10305051821380.3867-100000>