minix/drivers/uds
David van Moolenbroek 9e3e032c26 UDS: sendmsg/recvmsg fixes
- sendmsg: the accumulation of multiple in-flight file descriptors was
  already described in the comments; now the code actually does what
  the comments say :) -- also, added robustness in case of a failure;
- recvmsg: only create a socket rights message if there are file
  descriptors pending at all;
- recvmsg: copy back the control message length;
- recvmsg: use CMSG_SPACE instead of CMSG_LEN to compute sizes.

Not sure if all of this is now working according to specification,
but at least tmux seems to be happy with it.

Change-Id: I8d076c14c3ff3220b7fea730e0f08f4b4254ede5
2014-03-01 09:04:58 +01:00
..
ioc_uds.c UDS: sendmsg/recvmsg fixes 2014-03-01 09:04:58 +01:00
Makefile UDS: clean up source code 2014-03-01 09:04:57 +01:00
uds.c UDS: add support for FIONREAD 2014-03-01 09:04:58 +01:00
uds.h UDS: add support for FIONREAD 2014-03-01 09:04:58 +01:00
vfs_uds.c UDS: clean up source code 2014-03-01 09:04:57 +01:00