Re: Guidance to implement io_select on network devices
Joan Lledó <[email protected]> Sat, 13 Jun 2026 10:17:58 +0200
| Newsgroups | gmane.os.hurd.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi Roy, El 12/6/26 a les 22:14, Roy Marples ha escrit: > The privilege separation is done. 100% working on Hurd in a POSIX limited sandbox. In your `hurd_test` branch? in that branch `src/privsep-hurd.c` is just a stub, is it working?. How can I test this locally to ensure it works for me? > One thing I lack the time to do because I am very much limited by my inability to upgrade > much on my Hurd VM is fix the ethernet header disater. > If you can get any changes upstreamed to Hurd libc I would appreciate that greatly. > > See here on my hurd_test branch: > https://github.com/NetworkConfiguration/dhcpcd/commit/cbd462a9a671a5bd20212eba4619aca5f4e8bc5e#diff-9625d3bf762014910c77568e8fab6f16ed8a0c3891483266d32e47793ec9b41e > > #ifdef __GNU__ > #include <net/ethernet.h> > #include <net/if_arp.h> > #else > #include <netinet/if_ether.h> > #endif > > I should NOT have to do this. > Every other OS dhcpcd compiles on (it's a long exhaustive list) pulls in what I need from netinet/if_ether.h > Relevant upstream bug: https://sourceware.org/bugzilla/show_bug.cgi?id=11142 > > Again, if you can progress that so I don't have to special case Hurd each time I want some ethernet stuff I would greatly appreciate it. Yes, of course. I'll take your branch as base and will work on a a series of patches that work bypassing libpcap. I'll also figure out about the ehternet headers. Thanks!