Kevin Wolf wrote: >>....
Oh, right you are. This was the untested part, because my glibc didn't have accept4. I only saw the SOCK_CLOEXEC name on this...@@ -302,12 +306,14 @@ int qemu_accept(int s, struct sockaddr *addr, socklen_t *addrlen)#ifdef CONFIG_ACCEPT4ret = accept4(s, addr, addrlen, SOCK_CLOEXEC); -#else + if (ret != -1 || errno != EINVAL) {Shouldn't this be an ENOSYS?
Fixed patch follows... Regards, Andre. -- Andre Przywara AMD-OSRC (Dresden) Tel: x29712