Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2003 11:14:17 +0200 (CEST)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        "Jacques A. Vidrine" <nectar@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Re: `Hiding' libc symbols
Message-ID:  <20030505110601.H53365@beagle.fokus.fraunhofer.de>
In-Reply-To: <20030501191027.GA53801@madman.celabo.org>
References:  <20030501182820.GA53641@madman.celabo.org> <XFMail.20030501144502.jhb@FreeBSD.org> <20030501191027.GA53801@madman.celabo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 May 2003, Jacques A. Vidrine wrote:

JAV>   (c) Hide all symbols, except those that are likely to
JAV>       be candidates to be overridden.  malloc/free seem
JAV>       to be the only ones here.

As far as I know, all programs from J.Schilling (cdrecord, star, ...)
carry their own printf (and a good other half of libc). I suppose there
are others that do this. While overriding libc functions is not exactly
standard supported (as far as I understand), it has been used ever since.
If there are un-overridable functions (for whatever reasons) they should
be documented somewhere (say in the man page of that function). We should
not expect application writers/porters to dig around in libc internals.

harti
-- 
harti brandt,
http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
brandt@fokus.fraunhofer.de, harti@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030505110601.H53365>