sockstat & jid patch
Andrew Thompson
thompsa at FreeBSD.org
Wed May 16 03:12:51 UTC 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sockstat_jid.diff
Type: application/octet-stream
Size: 2750 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120516/55c5bf98/sockstat_jid.obj
More information about the freebsd-current
mailing list