Date: Sun, 7 Mar 2010 11:44:37 +0100 From: Ed Schouten <ed@80386.nl> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: freebsd-emulation@freebsd.org Subject: Re: linux-only jail possible? Message-ID: <20100307104437.GM8200@hoeg.nl> In-Reply-To: <20100307113538.00007555@unknown> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] * Alexander Leidinger <Alexander@Leidinger.net> wrote: > On Sat, 6 Mar 2010 19:15:12 +0100 Ed Schouten <ed@80386.nl> 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 -- Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkuTg5UACgkQ52SDGA2eCwU8cACfcWp90usqAUGX09xObourpBZj X/gAn2XQa9oq/I1l7/kY6V77LbpXQFcY =GCsC -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100307104437.GM8200>
