neuswc

patched neuswc library (tracked)
git clone https://git.daat.foo/neuswc.git
Log | Files | Refs | README | LICENSE

commit 32905f16caa7b76e705e7afdb7a6cc5bc8b2fd9a
parent 3ecd720e5995e5bac5bd541fafbac18e6ce17b54
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 10 Feb 2022 13:26:31 -0800

launch: Set CLOEXEC on fds received from swc-launch

Diffstat:
Mlaunch/protocol.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/launch/protocol.c b/launch/protocol.c @@ -53,7 +53,7 @@ receive_fd(int socket, int *fd, struct iovec *iov, int iovlen) message.msg_controllen = sizeof(control); } - size = recvmsg(socket, &message, 0); + size = recvmsg(socket, &message, MSG_CMSG_CLOEXEC); if (size < 0) return -1;