Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 1996 00:15:42 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Cc:        wpaul@skynet.ctr.columbia.edu (Bill Paul)
Subject:   Re: Plan for integrating Secure RPC -- comments wanted
Message-ID:  <199612152315.AAA01712@uriah.heep.sax.de>
In-Reply-To: <199612152022.PAA05216@skynet.ctr.columbia.edu> from Bill Paul at "Dec 15, 96 03:22:39 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Bill Paul wrote:

> Splitting out the DES code
> ---------------------------

> Right now, there are several programs in /bin and /sbin which use
> NIS code as a side effect of calling libc functions that have NIS
> support in them. All the executables in these directories are linked

> The question then is how to seperate out the DES code without actually
> changing any executables. There are actually three ways, all of which
> suck. It's a matter of choosing the least suckiest.

Why not using explicit dynamic linking for this?  (dlopen(3))  Since
you can concentrate on a single library entry point, this should be
not too complicated.  The point is that you try to load the shared
lib only if an actual call is made to it, rather then loading every-
thing before the executable starts.

-- 
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. ;-)



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