`Hiding' libc symbols
Harti Brandt
brandt at fokus.fraunhofer.de
Mon May 5 02:14:20 PDT 2003
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 at fokus.fraunhofer.de, harti at freebsd.org
More information about the freebsd-arch
mailing list