Roman Divacky wrote:

>hi
>
>in update 3 the ip_fanout_tcp changed to (I think) ipst->ips_ipcl_conn_fanout. 
>This makes pidentd and lsof non-function as those look up this symbol in 
>/dev/kmem and map user names (uids) to socket connections using the 
>ip_fanout_tcp list of tcp  connections in CONNECTED state.
>
>so I'd like to know if there's any way I can hack pidentd to look this up in 
>/dev/kmem now. or alternatively I think this (in-kernel) code snippet should 
>work. so if there's no way I'll go in this direction
>  
>

You're going to need to walk the list of IP instances via /dev/kmem
in the global zone, to find the right one that applies to the matching
zone, all the while knowing that it could disappear from out beneath
you (except if you're running in the global zone.)

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to