SIGINFO

2008-08-09 Thread Samuel Thibault
Hello, I was wondering about implementing SIGINFO: as I understand it, the Hurd glibc currently calls the signal handlers as void handler(int signo, long int sigcode, struct sigcontext *scp) so the basis for the support of the kind of information that SIGINFO provides is already there, it's "jus

Re: The patch of pfinet

2008-08-09 Thread olafBuddenhagen
Hi, On Fri, Aug 08, 2008 at 08:09:24AM +0200, zhengda wrote: > The patch enables the pfinet to work with the multiplexer and use the > filter rule that only accepts the packet whose destination is the > pfinet server. This rather sounds like two totally orthogonal changes, that really should go

Re: The patch of boot to open a virtual network interface

2008-08-09 Thread olafBuddenhagen
Hi, On Fri, Aug 08, 2008 at 07:06:29AM +0200, zhengda wrote: > But the way to open the virtual network interface will be changed if > the translator that helps open the device is created. Indeed... So I guess we better don't commit it just yet :-) > 2008-07-29 Zheng Da <[EMAIL PROTECTED]> > >

Re: The patch of gnumach to enable the user to set the network device into the promiscuous mode

2008-08-09 Thread Samuel Thibault
Zheng Da, le Fri 08 Aug 2008 23:13:02 +0200, a écrit : > I copied the code from http://perso.hurdfr.org/mmenal/promisc.patch. Ah actually that one is itself a copy of other part of net/core. Ok, commited. Samuel

Re: The patch of gnumach to enable the user to set the network device into the promiscuous mode

2008-08-09 Thread Samuel Thibault
About changelogs, please really read the GNU coding style (or re-read it): you _need_ to give the name for the added macros for instance, that's precisely the purpose of the ChangeLog file. Samuel

Re: The patch of gnumach to enable the user to set the network device into the promiscuous mode

2008-08-09 Thread Samuel Thibault
Zheng Da, le Fri 08 Aug 2008 23:13:02 +0200, a écrit : > I copied the code from http://perso.hurdfr.org/mmenal/promisc.patch. Ah. > I think only the root should be able to set the flags. Sure. > On Fri, Aug 8, 2008 at 9:33 PM, Samuel Thibault <[EMAIL PROTECTED]> > wrote: > zhengda, le Fri 0

Re: The patch of glibc which allows the user to override the pfinet server

2008-08-09 Thread Samuel Thibault
zhengda, le Sat 09 Aug 2008 13:59:19 +0200, a écrit : > if (name) >free (name); No need for an if here, free(NULL); is void already. > When I build the glibc, I got the error as follow: > > CPP='gcc-4.2 -E -x c-header' > /root/storage/glibc-2.7/build-tree/hurd-i386-libc/elf/ld.so.

Re: The patch of glibc which allows the user to override the pfinet server

2008-08-09 Thread zhengda
Samuel Thibault wrote: Hello, + char sock_serv_env_name[30]; To avoid a fixed-sized buffer you could use __asprintf. + name = (char *)malloc (len + 100); Use __asprintf here too. - servers[domain] = server; +servers[domain] = server;