commit f87bf597ea711ef795b27d70fd5b992a80e021c8 from: Omar Polo date: Sun Jan 17 23:25:59 2021 UTC removing O_CLOEXEC we don't fork anymore in that process, so the flag is extra. commit - c0224a266cba8707da8f8826dac8ff1edb38306a commit + f87bf597ea711ef795b27d70fd5b992a80e021c8 blob - ab3cd5db9de9be6294579e0bd8d34f3c29b84796 blob + bf5f767c91d0db54bb5ef0ca5975b6a7394a57e5 --- server.c +++ server.c @@ -36,7 +36,7 @@ check_path(struct client *c, const char *path, int *fd assert(path != NULL); if ((*fd = openat(c->host->dirfd, *path ? path : ".", - O_RDONLY | O_NOFOLLOW | O_CLOEXEC)) == -1) { + O_RDONLY | O_NOFOLLOW)) == -1) { return FILE_MISSING; }