From owner-freebsd-current@FreeBSD.ORG Mon Feb 16 08:08:09 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 519F216A4CE; Mon, 16 Feb 2004 08:08:09 -0800 (PST) Received: from relay.macomnet.ru (relay.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9090643D1D; Mon, 16 Feb 2004 08:08:08 -0800 (PST) (envelope-from maxim@macomnet.ru) Received: from news1.macomnet.ru (1o8wuyew@news1.macomnet.ru [195.128.64.14]) by relay.macomnet.ru (8.12.10/8.12.10) with ESMTP id i1GG86o26175812; Mon, 16 Feb 2004 19:08:06 +0300 (MSK) Date: Mon, 16 Feb 2004 19:08:06 +0300 (MSK) From: Maxim Konovalov To: Pawel Jakub Dawidek In-Reply-To: <20040216155315.GG14639@garage.freebsd.pl> Message-ID: <20040216190552.X79328@news1.macomnet.ru> References: <200402151714.26631.freebsd-current@webteckies.org> <20040216133617.GD14639@garage.freebsd.pl> <20040216140720.GE14639@garage.freebsd.pl> <20040216155315.GG14639@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: scottl@FreeBSD.org cc: rwatson@FreeBSD.org 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: Mon, 16 Feb 2004 16:08:09 -0000 [...] > Probably, because no new cred structure is allocated when you run 'nc' > without a jail (only this one used by your shell is referenced again). > > Try to do: > > # su - -c "/usr/local/bin/nc -p 1234 -l 127.0.0.1" Yep, it seems you are right, we leak ucred ref in non-jail env. too. Thanks Pawel! -- Maxim Konovalov