sockstat & jid patch

Andrew Thompson thompsa at
Wed May 16 03:12:51 UTC 2012


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sockstat_jid.diff
Type: application/octet-stream
Size: 2750 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list