Re: Strange problem with vnodes and sockets

2004-03-07 Thread Kiss Tibor
On Sun, Mar 07, 2004 at 02:40:50PM -0500, Robert Watson wrote: > > notion of "owner". so_cred is a cached referenced to the process > credential of the process that created the socket... Yes, but i need the process p_pid. > > VSOCK vnodes are rendezvous points for UNIX domain socket communication,

Re: Strange problem with vnodes and sockets

2004-03-07 Thread Robert Watson
On Sun, 7 Mar 2004, Kiss Tibor wrote: > I want to create a small kernel module which logs the socket operations. > So in my module I have a socket structure, and i want to know which > process (thread) owns that. I try to solve this problem by this way: Sockets, as with files, can be referenced