From owner-freebsd-current@FreeBSD.ORG Sun Feb 15 10:51:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 891E516A4CE for ; Sun, 15 Feb 2004 10:51:45 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43E0B43D1F for ; Sun, 15 Feb 2004 10:51:45 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i1FIpJDL058263; Sun, 15 Feb 2004 13:51:19 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i1FIpJoY058260; Sun, 15 Feb 2004 13:51:19 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 15 Feb 2004 13:51:19 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Melvyn Sopacua In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@FreeBSD.org Subject: Re: Jails that keep hanging around X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2004 18:51:45 -0000 On Sun, 15 Feb 2004, Robert Watson wrote: ... > Here are some places you might have credentials that "hang on" -- i.e., > other kernel structures that cache references to credentials for some or > another reason: > > struct buf I realized that I forgot to fill in this structure, which may also be relevant. I'm not too familiar with the internals of the buffer cache, but 'struct buf's can hang around for quite a while in the context of NFS caching, etc, so if you're using jail with NFS, the jail reference might last until the writes are pushed back over NFS (or longer if they remain in the cache due to mmap'ing, etc). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research