From owner-freebsd-current Sat May 30 13:09:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA26026 for freebsd-current-outgoing; Sat, 30 May 1998 13:09:39 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles195.castles.com [208.214.165.195]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA26020; Sat, 30 May 1998 13:09:36 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id MAA07077; Sat, 30 May 1998 12:04:45 -0700 (PDT) Message-Id: <199805301904.MAA07077@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Brian Somers cc: Mike Smith , sos@FreeBSD.ORG, wollman@khavrinen.lcs.mit.edu (Garrett Wollman), current@FreeBSD.ORG Subject: Re: cvs commit: src Makefile src/etc rc src/etc/mtree BSD.usr.dist In-reply-to: Your message of "Fri, 29 May 1998 07:40:08 BST." <199805290640.HAA00434@awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 30 May 1998 12:04:44 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > So is dlopen() now capable ? Not AFAIK. Adding it should not be too difficult; in the a.out loader you could steal the fragment from the LD_PRELOAD handler that says: path = (strchr(name, '/') == NULL) ? strdup(name) : rtfindfile(name); ... free(path); Note that the LD_LIBRARY_PATH handling code will only add directories to the standard search path if it's "safe" to do so, so you don't have to worry about the security implications of this search; the path is as secure as it would otherwise be. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message