59c1d82cad
Similar to the change for sendmsg(), create a pointer size independent implementation of recvmsg() and let cloudabi32 and cloudabi64 call into it. In case userspace requests one or more file descriptors, call kern_recvit() in such a way that we get the control message headers in an mbuf. Iterate over all of the headers and copy the file descriptors to userspace. |
||
---|---|---|
.. | ||
cloudabi64_fd.c | ||
cloudabi64_module.c | ||
cloudabi64_poll.c | ||
cloudabi64_proto.h | ||
cloudabi64_sock.c | ||
cloudabi64_syscall.h | ||
cloudabi64_syscalls.c | ||
cloudabi64_sysent.c | ||
cloudabi64_systrace_args.c | ||
cloudabi64_thread.c | ||
cloudabi64_util.h | ||
Makefile | ||
syscalls.conf |