Re: New jail framework - the userland side

From: Jamie Gritton <jamie_at_FreeBSD.org>
Date: Mon, 04 May 2009 07:17:55 -0600
Poul-Henning Kamp wrote:
> In message <49FE5387.3020503_at_FreeBSD.org>, Jamie Gritton writes:
> 
>> Hi all.  I recently added some new jail-related system calls to extend 
>> the current jail system with an nmount-inspired name=value interface.  
> 
> I think this is a great move in the right direction, my only concern is
> that we should try to share as much of the string-munging code between
> the nmount and jail implementations as possible.

Most if it is shared - jail actually calls vfs_getopt and related calls
from the family.  I might want to spin those functions off into their
own subsystem at some point, now that they're officially used outside
of VFS.

I did have to extend things somewhat for jail_get, as nmount is write-
only and only had to deal with one module at a time (the filesystem
type).  Those extensions are available for use elsewhere, as I suspect
filesystems and jails aren't the only place where we could use name-
based extensibility.

- Jamie
Received on Mon May 04 2009 - 11:17:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC