Hi,
While adding support for SCM_RIGHTS to glibc, I've created a testcase that sends
and receives some ports on the result of a socketpair() call. The ports sent
were initially the two ports result of another socketpair() call, and it was
working fine, but then I tried with the result of a couple
Hi,
This patch adds support for SCM_RIGHTS to glibc. It works fine
when sending file descriptors from a socket() or a socketpair() call,
but not from e.g. an open() call, as I've mentioned in another mail.
That's not because of my patch though.
The attached testcase runs fine with the #if set to
I don't know off hand why you're getting that failure mode. But in general
you can't use MACH_MSG_TYPE_MOVE_SEND in Hurd RPC arguments (only for
replies) because of the interrupt retry issue. That could be related
to this failure though I can't really see how at the moment.
Thanks,
Roland