From owner-freebsd-emulation@FreeBSD.ORG Sun Mar 7 10:35:49 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 B65E3106566C for ; Sun, 7 Mar 2010 10:35:49 +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 6D7F38FC08 for ; Sun, 7 Mar 2010 10:35:46 +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 906BC844956; Sun, 7 Mar 2010 11:35:42 +0100 (CET) Received: from unknown (unknown [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id 7539F50F0; Sun, 7 Mar 2010 11:35:39 +0100 (CET) Date: Sun, 7 Mar 2010 11:35:38 +0100 From: Alexander Leidinger To: Ed Schouten Message-ID: <20100307113538.00007555@unknown> In-Reply-To: <20100306181512.GK8200@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> 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: 906BC844956.83E0A 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: 1268562942.75813@xBizq0jpZdpvCq1+YKzp4g 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 10:35:49 -0000 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. :) Bye, Alexander.