From owner-freebsd-emulation@FreeBSD.ORG Sun Mar 7 19:06:52 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D556D106566B for ; Sun, 7 Mar 2010 19:06:52 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 8C84A8FC16 for ; Sun, 7 Mar 2010 19:06:52 +0000 (UTC) Received: from outgoing.leidinger.net (pD954FC7A.dip.t-dialin.net [217.84.252.122]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 8A0D9844587; Sun, 7 Mar 2010 20:06:46 +0100 (CET) Received: from unknown (unknown [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id A43365126; Sun, 7 Mar 2010 20:06:43 +0100 (CET) Date: Sun, 7 Mar 2010 20:06:41 +0100 From: Alexander Leidinger To: Ed Schouten Message-ID: <20100307200641.00004369@unknown> In-Reply-To: <20100307104437.GM8200@hoeg.nl> References: <201003021325.27197.lists@jnielsen.net> <20100306073117.GE8200@hoeg.nl> <20100306081238.GF8200@hoeg.nl> <201003061241.59580.lists@jnielsen.net> <20100306181512.GK8200@hoeg.nl> <20100307113538.00007555@unknown> <20100307104437.GM8200@hoeg.nl> X-Mailer: Claws Mail 3.7.2cvs15 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 8A0D9844587.A6706 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.44, required 6, autolearn=disabled, ALL_TRUSTED -1.44) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1268593607.27506@+5/V5yqYEaz6LW/9ODYWug X-EBL-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: linux-only jail possible? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2010 19:06:52 -0000 On Sun, 7 Mar 2010 11:44:37 +0100 Ed Schouten wrote: > * Alexander Leidinger wrote: > > On Sat, 6 Mar 2010 19:15:12 +0100 Ed Schouten wrote: > > > > > I am still in doubt what to do. Maybe we could consider > > > committing a patch like this: > > [...] > > > This is a bit more complete. What it does, is that it creates a > > > symlink from /proc/%d/fd to /dev/fd, only if the calling process > > > matches. Then when you mount fdescfs on /dev/fd, it also does the > > > right thing, because it will always readlink() on a character > > > device, which also returns an error code. > > > > > > Comments, suggestions anyone? > > > > Looks better than the one before. :) > > Great. Just committed it to SVN: Note: I didn't test it. I just think it is better than a hack, but we need to change the instructions how to have a full linux env... Bye, Alexander.