Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2004 19:08:06 +0300 (MSK)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: Jails that keep hanging around
Message-ID:  <20040216190552.X79328@news1.macomnet.ru>
In-Reply-To: <20040216155315.GG14639@garage.freebsd.pl>
References:  <200402151714.26631.freebsd-current@webteckies.org> <20040216133617.GD14639@garage.freebsd.pl> <20040216140720.GE14639@garage.freebsd.pl> <20040216155315.GG14639@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
[...]
> 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 - <some_user> -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040216190552.X79328>