From owner-freebsd-emulation@FreeBSD.ORG Sun Mar 7 10:44:39 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 455CB1065672 for ; Sun, 7 Mar 2010 10:44:39 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id D6F498FC1E for ; Sun, 7 Mar 2010 10:44:38 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 9A93E1CCFB; Sun, 7 Mar 2010 11:44:37 +0100 (CET) Date: Sun, 7 Mar 2010 11:44:37 +0100 From: Ed Schouten To: Alexander Leidinger Message-ID: <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RPb6GFgQMyE35ink" Content-Disposition: inline In-Reply-To: <20100307113538.00007555@unknown> User-Agent: Mutt/1.5.20 (2009-06-14) 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:44:39 -0000 --RPb6GFgQMyE35ink Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Alexander Leidinger wrote: > On Sat, 6 Mar 2010 19:15:12 +0100 Ed Schouten wrote: >=20 > > 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. > >=20 > > Comments, suggestions anyone? >=20 > Looks better than the one before. :) Great. Just committed it to SVN: http://svn.freebsd.org/viewvc/base?view=3Drevision&revision=3D204825 --=20 Ed Schouten WWW: http://80386.nl/ --RPb6GFgQMyE35ink Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkuTg5UACgkQ52SDGA2eCwU8cACfcWp90usqAUGX09xObourpBZj X/gAn2XQa9oq/I1l7/kY6V77LbpXQFcY =GCsC -----END PGP SIGNATURE----- --RPb6GFgQMyE35ink--