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
2014-02-18 11:25:02 +01:00
2013-08-20 11:37:40 +02:00
2014-03-01 09:04:57 +01:00
2014-03-01 09:04:58 +01:00
2014-03-01 09:04:57 +01:00
2014-03-01 09:04:57 +01:00
2014-03-01 09:04:57 +01:00
2014-03-01 09:04:56 +01:00
2014-02-18 11:25:02 +01:00
2014-03-01 09:04:57 +01:00
2013-11-12 10:15:47 -05:00
2014-03-01 09:04:56 +01:00
2014-03-01 09:04:54 +01:00
2010-01-21 10:16:05 +00:00
Description
A fun microkernel meant to match modern usecases
GPL-3.0 148 MiB
Languages
C 78.2%
Roff 10.2%
Assembly 4.6%
Shell 3.7%
Makefile 1.6%
Other 1.2%