From owner-freebsd-arch@FreeBSD.ORG Fri Jun 6 14:23:35 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 CB75237B401 for ; Fri, 6 Jun 2003 14:23:35 -0700 (PDT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CF0E43FAF for ; Fri, 6 Jun 2003 14:23:35 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.9/8.12.6) with ESMTP id h56LNYVI027576; Fri, 6 Jun 2003 14:23:34 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9/8.12.6/Submit) id h56LNXev027573; Fri, 6 Jun 2003 14:23:33 -0700 (PDT) Date: Fri, 6 Jun 2003 14:23:33 -0700 (PDT) From: Matthew Dillon Message-Id: <200306062123.h56LNXev027573@apollo.backplane.com> To: Terry Lambert References: <3EDCD0C1.1020300@acm.org> <20030604083801.GA74277@subway.linast.de> <3EDF73DB.CCD31329@mindspring.com> cc: freebsd-arch@freebsd.org cc: Sebastian Lederer 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: Fri, 06 Jun 2003 21:23:36 -0000 :> :> 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