From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 14 16:37:03 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10AC016A4CE for ; Tue, 14 Sep 2004 16:37:02 +0000 (GMT) Received: from phoenix.infradead.org (imladris.demon.co.uk [193.237.130.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9005843D48 for ; Tue, 14 Sep 2004 16:37:01 +0000 (GMT) SRS0+16b390477d8a77a0b55b+387+infradead.org+hch@phoenix.srs.infradead.org) Received: from hch by phoenix.infradead.org with local (Exim 4.42 #2 (Red Hat Linux)) id 1C7GIa-0002Ub-25; Tue, 14 Sep 2004 17:36:56 +0100 Date: Tue, 14 Sep 2004 17:36:55 +0100 From: Christoph Hellwig To: Jeremie Le Hen Message-ID: <20040914173655.A9479@infradead.org> References: <20040912183437.GF20097@mongers.org> <16708.47393.249768.90818@thebsh.namesys.com> <20040913171329.GA16110@garak.epita.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040913171329.GA16110@garak.epita.fr>; from jeremie.le-hen@epita.fr on Mon, Sep 13, 2004 at 07:13:29PM +0200 X-SRS-Rewrite: SMTP reverse-path rewritten from by phoenix.infradead.org See http://www.infradead.org/rpr.html cc: freebsd-hackers@freebsd.org cc: Morten Liebach cc: Nikita Danilov Subject: Re: FreeBSD on Xserve? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 16:37:03 -0000 On Mon, Sep 13, 2004 at 07:13:29PM +0200, Jeremie Le Hen wrote: > I would add that the UML patch applied to the hosted kernel source deeply > modifies the ptrace(2) infrastructure. All UML processes are in fact > processes on the host kernel, but the UML kernel ptrace's so that it reroutes > all invoked syscalls to itself and mmap's processes address space to its > own one. That's not ture. For the ptrace method you describe unmodified host kernels work. There's an alternate implementation using multiple address spaces per process that needs a heavily patched kernel. (the SKAS patch you mention below)