[PATCH 3/4] lwip: return EINTR when a select() IPC thread is cancelled

2018-08-07 Thread Joan Lledó
--- lwip/io-ops.c | 8 1 file changed, 8 insertions(+) diff --git a/lwip/io-ops.c b/lwip/io-ops.c index 1429bc55..72e08e26 100644 --- a/lwip/io-ops.c +++ b/lwip/io-ops.c @@ -198,6 +198,8 @@ lwip_io_select_common (struct sock_user *user, int timeout; struct pollfd fdp; nfds_t nfd

[PATCH 1/4] lwip: select/poll(): return EIO when POLLERR is set

2018-08-07 Thread Joan Lledó
--- lwip/io-ops.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lwip/io-ops.c b/lwip/io-ops.c index 636c26f7..1429bc55 100644 --- a/lwip/io-ops.c +++ b/lwip/io-ops.c @@ -229,6 +229,9 @@ lwip_io_select_common (struct sock_user *user, if (ret > 0) { + if (fdp.revents & POLLER

Patches: lwip translator

2018-08-07 Thread Joan Lledó
Hello Hurd, Here are some patches for the lwip translator. They solve minor problems I've found when working on our lwip library. Regards.

[PATCH 2/4] lwip: refactor main demuxer to avoid code duplication

2018-08-07 Thread Joan Lledó
--- lwip/main.c | 42 +++--- 1 file changed, 11 insertions(+), 31 deletions(-) diff --git a/lwip/main.c b/lwip/main.c index 9f7eb9b2..4dfbe143 100644 --- a/lwip/main.c +++ b/lwip/main.c @@ -99,6 +99,7 @@ int lwip_demuxer (mach_msg_header_t * inp, mach_msg_head

[PATCH 4/4] lwip: Fix a buffer overflow and clear compiler warnings

2018-08-07 Thread Joan Lledó
--- lwip/options.c| 2 +- lwip/pfinet-ops.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lwip/options.c b/lwip/options.c index 6591ac52..d35b9f32 100644 --- a/lwip/options.c +++ b/lwip/options.c @@ -133,7 +133,7 @@ parse_opt (int opt, char *arg, struct argp_state *sta

Re: Lwip 2.0.3 patches

2018-08-07 Thread Joan Lledó
Hi, Attached is a patch to update our lwip library. About autoconf: > So your autoconf effort and that effort could probably be merged? They recently removed their unix library from their lwip-contrib repo, and are wroking on replacing GNU Autotools for CMake[1], so I don't think they are i

[PATCH] Update patches

2018-08-07 Thread Joan Lledó
PORT: Use always interruptible functions for waiting Return SYS_ARCH_INTR when a waiting thread is cancelled POLL: Use always interruptible functions for waiting Fix some debug messages MAX_SOCKETS:Prote

Re: Fwd: The GNU C Library version 2.28 is now available

2018-08-07 Thread Samuel Thibault
Samuel Thibault, le jeu. 02 août 2018 00:10:01 +0200, a ecrit: > David Michael, le mer. 01 août 2018 18:05:50 -0400, a ecrit: > > On Wed, Aug 1, 2018 at 11:37 AM, Samuel Thibault > > wrote: > > > About glibc repositories, we should upgrade the Hurd glibc repository to > > > 2.28, when would that b