From owner-freebsd-hackers Sun Oct 20 00:21:49 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA13066 for hackers-outgoing; Sun, 20 Oct 1996 00:21:49 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA13042 for ; Sun, 20 Oct 1996 00:21:44 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA18978; Sun, 20 Oct 1996 09:21:28 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA29572; Sun, 20 Oct 1996 09:21:27 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.6/8.6.9) id JAA27667; Sun, 20 Oct 1996 09:04:15 +0200 (MET DST) From: J Wunsch Message-Id: <199610200704.JAA27667@uriah.heep.sax.de> Subject: Re: cvs commit: src/lib/libc/db/hash hash_buf.c To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Sun, 20 Oct 1996 09:04:14 +0200 (MET DST) Cc: dnelson@emsphone.com, deraadt@theos.com Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199610200201.TAA03344@phaeton.artisoft.com> from Terry Lambert at "Oct 19, 96 07:01:11 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Terry Lambert wrote: > Well, you would hope that you could set the flag locally, where it's > supported, and it would be globally supported. > > Basically, you'd have a linker set initialization function for an > affected library, and when the program started, it would call the > setup functions, which would in turn obey the flag, if set. linker set... linker set. Well, the requirement of this application for the `secure free' is already known at compile time. Shouldn't it be possible to just link another free() (kinda `overloaded') in this case, thus eliminating any peculiarities of any flag testing? (I've trimmed the Cc list to those who were in the list of addressees, but are IMHO not on freebsd-hackers. If you guys are not interested in this technical discussion, say so, and we'll drop you from there.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)