Date: Thu, 30 Apr 2009 07:19:52 -0600 From: Jamie Gritton <jamie@FreeBSD.org> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r191673 - in head: lib/libc/sys sys/cddl/compat/opensolaris/kern sys/compat/freebsd32 sys/kern sys/sys Message-ID: <49F9A578.2070108@FreeBSD.org> In-Reply-To: <20090430095835.14265d5oog5a4pwk@webmail.leidinger.net> References: <200904292114.n3TLEGTW093008@svn.freebsd.org> <20090430095835.14265d5oog5a4pwk@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote: > Quoting Jamie Gritton <jamie@FreeBSD.org> (from Wed, 29 Apr 2009 > 21:14:16 +0000 (UTC)): > >> Author: jamie >> Date: Wed Apr 29 21:14:15 2009 >> New Revision: 191673 >> URL: http://svn.freebsd.org/changeset/base/191673 >> >> Log: >> Introduce the extensible jail framework, using the same "name=value" >> interface as nmount(2). Three new system calls are added: >> * jail_set, to create jails and change the parameters of existing >> jails. >> This replaces jail(2). >> * jail_get, to read the parameters of existing jails. This replaces >> the >> security.jail.list sysctl. >> * jail_remove to kill off a jail's processes and remove the jail. >> Most jail parameters may now be changed after creation, and jails >> may be >> set to exist without any attached processes. The current jail(2) >> system >> call still exists, though it is now a stub to jail_set(2). > > Does this mean it is theoretically possible now to add/remove IP > addresses to/from a running jail? If yes, are you going to implement the > corresponding ifconfig feature? I would expect this in ifconfig, as on > Solaris ifconfig is able to do this with zones, I haven't looked if the > jail utility is able to do it. Yes and maybe. Jails can get IP addresses added and removed midstream. But the userland interface remains to be done. I had no plans to specify a jail in ifconfig but I could do that at some point. There's no specific tie between interfaces and jails like there appears to be for zones, so it would be something different than Solaris has. For now I'll just be modifying jail(8) to assign existing addresses to jails, the way they're done now upon creation. - Jamie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49F9A578.2070108>