36cc183884
Reduce the potential amount of code duplication between cloudabi32 and cloudabi64 by creating a cloudabi_sock_recv() utility function. The cloudabi32 and cloudabi64 modules will then only contain code to convert the iovecs to the native pointer size. In cloudabi_sock_recv(), we can now construct an SCM_RIGHTS cmsghdr in an mbuf and pass that on to kern_sendit(). |
||
---|---|---|
.. | ||
cloudabi32_fd.c | ||
cloudabi32_module.c | ||
cloudabi32_poll.c | ||
cloudabi32_proto.h | ||
cloudabi32_sock.c | ||
cloudabi32_syscall.h | ||
cloudabi32_syscalls.c | ||
cloudabi32_sysent.c | ||
cloudabi32_systrace_args.c | ||
cloudabi32_thread.c | ||
cloudabi32_util.h | ||
Makefile | ||
syscalls.conf |