Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 1998 12:04:44 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Mike Smith <mike@smith.net.au>, 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 
Message-ID:  <199805301904.MAA07077@antipodes.cdrom.com>
In-Reply-To: Your message of "Fri, 29 May 1998 07:40:08 BST." <199805290640.HAA00434@awfulhak.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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