[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] [hurd] pflocal/socket.c: Support MSG_DONTWAIT in pflocal send/re

From: Christian Seiler
Subject: [PATCH] [hurd] pflocal/socket.c: Support MSG_DONTWAIT in pflocal send/recv
Date: Fri, 5 Aug 2016 21:09:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0

On 08/01/2016 12:08 PM, Christian Seiler wrote:
> Problem 2:
> MSG_DONTWAIT is ignored for recvmsg, it always blocks (at least
> when using AF_LOCK sockets). I've even tried to pre-fill the
> msg_flags member with it (which you shouldn't need to do
> according to POSIX, the flags argument should be enough), but
> that also doesn't help.

I've attached a patch that fixes this specific issue for me. I
probably won't have time to look at the other issue I reported
here, but with that I'd at least be able to have open-isns
working on Hurd. (And the patch will likely also fix problems
in other software.)

It would be great if you could apply that patch in git.



PS: Is there any way to sanely restart /hurd/pflocal without
rebooting? I was really lucky here that my first try at a
patch worked, especially since Hurd takes quite a bit longer
to reboot than Linux in a VM.

Attachment: pflocal-MSG_DONTWAIT.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]