linux-only jail possible?

Ed Schouten ed at 80386.nl
Sun Mar 7 10:44:39 UTC 2010


* Alexander Leidinger <Alexander at Leidinger.net> wrote:
> On Sat, 6 Mar 2010 19:15:12 +0100 Ed Schouten <ed at 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 at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20100307/cbc1272d/attachment.pgp


More information about the freebsd-emulation mailing list