From owner-freebsd-arch@FreeBSD.ORG Mon May 5 02:14:20 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25D8D37B401; Mon, 5 May 2003 02:14:20 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9382043FA3; Mon, 5 May 2003 02:14:18 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h459EHE08503; Mon, 5 May 2003 11:14:17 +0200 (MEST) Date: Mon, 5 May 2003 11:14:17 +0200 (CEST) From: Harti Brandt To: "Jacques A. Vidrine" In-Reply-To: <20030501191027.GA53801@madman.celabo.org> Message-ID: <20030505110601.H53365@beagle.fokus.fraunhofer.de> References: <20030501182820.GA53641@madman.celabo.org> <20030501191027.GA53801@madman.celabo.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-arch@freebsd.org Subject: Re: Re: `Hiding' libc symbols X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 09:14:20 -0000 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