Hi,

When I use sendmsg to send descriptors from one process to another using
unix-sockets I need to include at least one byte of normal data for the
descriptors to be send (using the iovec structure). The same code worked
fine on openbsd (ie. filedescriptors could be send without normal data).
If no normal data is included sendmsg will return 0, as if all data is
send correctly.


Is this difference on purpose? If so, why?


Regards,
Hylke


ps.
The current behaviour is because unix_stream_sendmsg in af_unix.c will
not do anything if len=0.

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to