From owner-cvs-all@FreeBSD.ORG Thu May 29 14:14:25 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA3A2106564A; Thu, 29 May 2008 14:14:25 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 451598FC16; Thu, 29 May 2008 14:14:25 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 4614046B98; Thu, 29 May 2008 10:14:20 -0400 (EDT) Date: Thu, 29 May 2008 15:14:20 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Michael Reifenberger In-Reply-To: <20080529140557.GA94385@gw.reifenberger.com> Message-ID: <20080529151233.I3678@fledge.watson.org> References: <200805261157.m4QBvnpF025029@repoman.freebsd.org> <20080526144831.K26343@fledge.watson.org> <20080526140735.GA35960@gw.reifenberger.com> <200805281309.49683.jhb@freebsd.org> <20080529140557.GA94385@gw.reifenberger.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin Subject: Re: cvs commit: src/usr.sbin/jexec jexec.8 jexec.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 14:14:25 -0000 On Thu, 29 May 2008, Michael Reifenberger wrote: > On Wed, May 28, 2008 at 01:09:49PM -0400, John Baldwin wrote: ... > >> Maybe make it only work if it only matches a single jail? That would work >> for the common case while avoiding ambiguities in the complex cases. > > Yes. Thats a good suggestion and the road I'll go. Thanks! The other concept that might be of benefit is a "dead" jail vs. a "live" jail -- with TCP connections taking a while to run down, there can often be dangling jail references that don't garbage collect for a few minutes. Perhaps, where there is ambiguity, live jails (ones with referencing processes) should be preferred to dead ones. Robert N M Watson Computer Laboratory University of Cambridge