From owner-freebsd-arch@FreeBSD.ORG Thu Jun 5 10:00:07 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D62B837B401 for ; Thu, 5 Jun 2003 10:00:07 -0700 (PDT) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE0DE43FA3 for ; Thu, 5 Jun 2003 10:00:06 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38lc0tv.dialup.mindspring.com ([209.86.3.191] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19Ny5n-0002Gf-00; Thu, 05 Jun 2003 10:00:02 -0700 Message-ID: <3EDF73DB.CCD31329@mindspring.com> Date: Thu, 05 Jun 2003 09:46:19 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Sebastian Lederer References: <3EDCD0C1.1020300@acm.org> <20030604083801.GA74277@subway.linast.de> <20030605152032.GA79575@subway.linast.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4a12270c019b0896e35287197ed915070350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: freebsd-arch@freebsd.org Subject: Re: Making a dynamically-linked root X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 17:00:08 -0000 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