Re: Re: Sockets and the owner process

2004-03-02 Thread grinder
> The best you can hope for is to determine processes that are actually > using the socket, and that can vary during the socket's lifetime. You > would have to scour the file descriptor tables in all process > structures to determine which processes had a handle on each socket you > have an in

Re: Sockets and the owner process

2004-02-29 Thread Justin Walker
On Saturday, February 28, 2004, at 09:52 AM, grinder 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 it. But the socket structure isn't contains any reference to the process

Sockets and the owner process

2004-02-29 Thread grinder
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 it. But the socket structure isn't contains any reference to the process structure. If i walk through the vnode table i can fin