From owner-freebsd-arch@FreeBSD.ORG Thu May 1 08:16:59 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 4BFDB37B401 for ; Thu, 1 May 2003 08:16:59 -0700 (PDT) Received: from mx0.freebsd-services.com (survey.codeburst.net [195.149.39.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAD8843F93 for ; Thu, 1 May 2003 08:16:58 -0700 (PDT) (envelope-from paul@freebsd-services.com) Received: by mx0.freebsd-services.com (Postfix, from userid 1002) id 1172D1B216; Thu, 1 May 2003 16:16:57 +0100 (BST) Date: Thu, 1 May 2003 16:16:57 +0100 From: Paul Richards To: Poul-Henning Kamp Message-ID: <20030501151657.GE1869@survey.codeburst.net> References: <32183.1049881186@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32183.1049881186@critter.freebsd.dk> User-Agent: Mutt/1.4.1i cc: arch@freebsd.org Subject: Re: Sharing code between kernel and userland.... 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, 01 May 2003 15:16:59 -0000 On Wed, Apr 09, 2003 at 11:39:46AM +0200, Poul-Henning Kamp wrote: > > This is a problem I have hit before, and now I hit it again: I need > to share a function between kernel and userland. > Isn't that what libkern was originally all about? Not that I find that solution particularly elegant since it's a but all or nothing so if we adopt a different solution we should probably get rid of libkern and look at ways of re-sharing some of that code with userland again (since I think they've branched quite a bit now). -- Paul Richards