sockstat & jid patch

From: Andrew Thompson <thompsa_at_FreeBSD.org>
Date: Wed, 16 May 2012 15:12:50 +1200
Hi,


Here is a quick patch to limit the sockstat output to a specific jail
id, this is useful to verify which sockets a jail has open. A jid of 0
will show the host system.

This will result in an extra syscall per socket when -j is set but I
do not think warrants a process cache.

Any objections?


Andrew

Received on Wed May 16 2012 - 01:12:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC