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
> 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
2 matches
Mail list logo