Re: What can a translator do that FUSE can’t?

2010-07-15 Thread Ludovic Courtès
Hi, Roland McGrath writes: > It's all just software. You can encode your interfaces any way you want. Unlike the Hurd, Plan 9 exposes everything textually (through a file system interface), but that is sometimes awkward (the ‘ctl’ files...) and the marshalling/unmarshalling is probably ineffic

Re: What do you need from the Hurd for your day-to-day tasks?

2010-07-15 Thread Samuel Thibault
Emilio Pozuelo Monfort, le Wed 14 Jul 2010 21:13:11 +0200, a écrit : > - Support for modern processors (Intel Core 2 Duo, I've heard anything newer > than Pentium III may not work) I'd actually say that anything may not work, be it newer than Pentium III or not. If there's an issue, people should

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-15 Thread Carl Fredrik Hammar
Hi, On Thu, Jul 15, 2010 at 05:15:25PM +0200, Emilio Pozuelo Monfort wrote: > On 15/07/10 17:05, Emilio Pozuelo Monfort wrote: > > On 15/07/10 16:49, Emilio Pozuelo Monfort wrote: > >> Here it goes, with a good commit message: > > > > Forgot to add the file before committing :( > > Also check th

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-15 Thread Emilio Pozuelo Monfort
On 15/07/10 17:05, Emilio Pozuelo Monfort wrote: > On 15/07/10 16:49, Emilio Pozuelo Monfort wrote: >> Here it goes, with a good commit message: > > Forgot to add the file before committing :( Also check that the buffer is big enough. >From 4adb3ab202d945139555a325460fc4a39f774e26 Mon Sep 17 00:

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-15 Thread Emilio Pozuelo Monfort
On 15/07/10 16:49, Emilio Pozuelo Monfort wrote: > Here it goes, with a good commit message: Forgot to add the file before committing :( >From 1d24cce79fd6cc0b7618a716cc6c489585497445 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Wed, 14 Jul 2010 18:40:36 +0200 Subject: [PATCH] Imp

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-15 Thread Emilio Pozuelo Monfort
On 15/07/10 16:36, Jérémie Koenig wrote: > On Thu, Jul 15, 2010 at 4:07 PM, Emilio Pozuelo Monfort > wrote: >> error_t >> S_socket_getopt (struct sock_user *user, >> int level, int opt, >> char **value, size_t *value_len) >> { >> + if (level == SOL_SOCKET) >> +

Re: [PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-15 Thread Jérémie Koenig
On Thu, Jul 15, 2010 at 4:07 PM, Emilio Pozuelo Monfort wrote: >  error_t >  S_socket_getopt (struct sock_user *user, >                 int level, int opt, >                 char **value, size_t *value_len) >  { > +  if (level == SOL_SOCKET) > +    { > +      if (opt == SO_TYPE) > +       { Maybe

[PATCH] Implement getsockopt (fd, SOL_SOCKET, SO_TYPE, ...)

2010-07-15 Thread Emilio Pozuelo Monfort
Hi, SSIA. I've tested it with SOCK_STREAM, SOCK_DGRAM and SOCK_SEQPACKET and it works fine. Cheers, Emilio --- pflocal/socket.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/pflocal/socket.c b/pflocal/socket.c index 06777ca..464bbc1 100644 --- a/pfloca