From owner-svn-src-head@FreeBSD.ORG Mon Jun 15 19:21:04 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A31BC1065676; Mon, 15 Jun 2009 19:21:04 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from gritton.org (gritton.org [161.58.222.4]) by mx1.freebsd.org (Postfix) with ESMTP id 696208FC1D; Mon, 15 Jun 2009 19:21:04 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.13.6.20060614/8.13.6) with ESMTP id n5FJL2Iq043415; Mon, 15 Jun 2009 13:21:02 -0600 (MDT) Message-ID: <4A369F19.5090406@FreeBSD.org> Date: Mon, 15 Jun 2009 13:20:57 -0600 From: Jamie Gritton User-Agent: Thunderbird 2.0.0.19 (X11/20090109) MIME-Version: 1.0 To: Julian Elischer References: <200906151859.n5FIxUbl098279@svn.freebsd.org> <4A369E5C.3070807@elischer.org> In-Reply-To: <4A369E5C.3070807@elischer.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/9467/Mon Jun 15 02:11:58 2009 on gritton.org X-Virus-Status: Clean Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r194251 - in head/sys: kern net sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 19:21:05 -0000 Julian Elischer wrote: > Jamie Gritton wrote: >> Author: jamie >> Date: Mon Jun 15 18:59:29 2009 >> New Revision: 194251 >> URL: http://svn.freebsd.org/changeset/base/194251 >> >> Log: >> Manage vnets via the jail system. If a jail is given the boolean >> parameter "vnet" when it is created, a new vnet instance will be >> created >> along with the jail. Networks interfaces can be moved between prisons >> with an ioctl similar to the one that moves them between vimages. >> For now vnets will co-exist under both jails and vimages, but soon >> struct vimage will be going away. >> Reviewed by: zec, julian >> Approved by: bz (mentor) >> >> Modified: >> head/sys/kern/kern_jail.c >> head/sys/kern/kern_vimage.c >> head/sys/net/if.c >> head/sys/net/if.h >> head/sys/sys/jail.h >> head/sys/sys/priv.h >> head/sys/sys/sockio.h >> head/sys/sys/vimage.h >> > > > the ioctl will be in ifcofig right? > > ifconfig em0 jail {Jail-ID} ?? Right. Perhaps "jail" and "unjail". Some pair to move an interface into a vnetted jail and to reclaim it from one. - Jamie