From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 8 22:19:19 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 034CF1065670 for ; Mon, 8 Mar 2010 22:19:19 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id DC2B78FC1E for ; Mon, 8 Mar 2010 22:19:18 +0000 (UTC) Received: from jnielsen.socialserve.com ([12.53.251.10]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id o28MJDpf042393; Mon, 8 Mar 2010 17:19:13 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: Ed Schouten Date: Mon, 8 Mar 2010 17:19:08 -0500 User-Agent: KMail/1.12.4 (Darwin/9.8.0; KDE/4.3.4; i386; ; ) References: <201003021325.27197.lists@jnielsen.net> <20100307113538.00007555@unknown> <20100307104437.GM8200@hoeg.nl> In-Reply-To: <20100307104437.GM8200@hoeg.nl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003081719.08068.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Alexander Leidinger , 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: Mon, 08 Mar 2010 22:19:19 -0000 On Sunday 07 March 2010 05:44:37 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: > > http://svn.freebsd.org/viewvc/base?view=revision&revision=204825 Thanks! Is this likely to be MFC'ed to 8-stable soon (or ever) or should I plan on keeping the patch locally? JN