Jails that keep hanging around

Maxim Konovalov maxim at macomnet.ru
Mon Feb 16 08:08:09 PST 2004


[...]
> 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


More information about the freebsd-current mailing list