Making a dynamically-linked root

Matthew Dillon dillon at apollo.backplane.com
Fri Jun 6 14:23:36 PDT 2003


:> 
:> I think the best bet is to write something reasonably simple from
:> scratch and implement it as an NSS module, so that it can be installed
:> without any changes to the rest of the system, especially without
:> hacking libc.
:
:You have to hack libc: the lookup calls in a static libc have
:to resolve to transactions interacting with the lookupd.  The
:entire point of this exercise is to allow access to NSS modules
:by a statically linked binary!
:
:-- Terry

    I really like the idea of Darwin's lookupd.  I'd like to see something
    like that not only for authentication, but for hostname lookups as well
    (at least for standard libc calls, which currently require most of the
    resolver's packet code to do even the simplest of operations).

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>


More information about the freebsd-arch mailing list