Emmanuel Dreyfus <m...@netbsd.org> wrote: > Indeed, when the auth process calls net_getunixname(), getsockname() fills the > name buffer with garbage.
I checked with a test program: on a non open, or closed socket, getsockname() returns -1. However on a socket that was not bound, it returns 0 and fills the buffer with garbage. I suspect this is a kernel bug, but how do we reach that situation? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org