`Hiding' libc symbols (was Re: cvs commit: src/lib/libc/gen ...)

Daniel Eischen eischen at pcnet1.pcnet.com
Thu May 1 07:58:01 PDT 2003


On Thu, 1 May 2003, Paul Richards wrote:

> On Thu, May 01, 2003 at 09:30:32AM -0500, Jacques A. Vidrine wrote:
> > On Thu, May 01, 2003 at 03:02:55PM +0100, Paul Richards wrote:
> > > What really concerns me though, is that behaviour is only defined
> > > for 2 functions.
> > 
> > No, it is done for some 150+ functions.  If the technique didn't have
> 
> 150+? I must have missed that in the commit and subsequent discussion.

All the system calls.  All the functions that the threads libraries
need to override or provide cancellation points for.

Also, for fun, do an 'nm libc_r.so.5 | grep " T "' (on an
unstripped libc_r) and see how may functions don't begin
with underscores.

-- 
Dan Eischen



More information about the freebsd-arch mailing list