Date: Thu, 05 Jun 2003 09:46:19 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Sebastian Lederer <sl@linast.de> Cc: freebsd-arch@freebsd.org Subject: Re: Making a dynamically-linked root Message-ID: <3EDF73DB.CCD31329@mindspring.com> References: <Pine.GSO.4.44.0306031123461.13279-100000@mail.ilrt.bris.ac.uk> <3EDCD0C1.1020300@acm.org> <20030604083801.GA74277@subway.linast.de> <20030605152032.GA79575@subway.linast.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Sebastian Lederer wrote: > On Wed, Jun 04, 2003 at 07:04:03PM +0200, Olaf Wagner wrote: > > I especially like this suggestion. Are there any plans to implement > > a lookupd for FreeBSD or is anybody already working on it? If not, > > could the MacOS X sources be used (i.e. are they contained in Darwin)? > > Darwin's lookupd is open source, but I think it would be too much work > to adapt it to FreeBSD, since it is tightly integrated with Darwin's > libc and probably depends on Mach IPC primitives. > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EDF73DB.CCD31329>