[PATCH 3/3] libdiskfs: fix receiver lookup

2014-04-04 Thread Justus Winter
* libdiskfs/Makefile (exec_startup-MIGSFLAGS): New variable. * libdiskfs/diskfs.h (struct bootinfo): New struct declaration. (diskfs_begin_using_bootinfo_port): New function. (diskfs_end_using_bootinfo): Likewise. * libdiskfs/fsmutations.h: Add mutators for exec_startup_t. * libdiskfs/priv.h (booti

[PATCH 2/3] exec: fix receiver lookup

2014-04-04 Thread Justus Winter
* exec/Makefile (exec_startup-MIGSFLAGS): New variable. * exec/execmutations.h: Add mutators for exec_startup_t. * exec/mig-decls.h: New file. * exec/priv.h (bootinfo_t): New type declaration to appease mig. * exec/exec.c (S_exec_startup_get_info): Fix receiver lookup. --- exec/Makefile|

[PATCH 1/3] hurd: add a new type for the exec_startup protocol

2014-04-04 Thread Justus Winter
* hurd/hurd_types.defs (exec_startup_t): New type. * hurd/hurd_types.h (exec_startup_t): Likewise. * hurd/exec_startup.defs: Honor EXEC_STARTUP_IMPORTS. (exec_startup_get_info): Use the new type as receiver. --- hurd/exec_startup.defs | 6 +- hurd/hurd_types.defs | 12 hurd/hur

Re: [PATCH 67/68] device/ds_routines.c: fix initialization from incompatible pointer type

2014-04-04 Thread Samuel Thibault
Hello, Marin Ramesa, le Fri 29 Nov 2013 22:54:32 +0100, a écrit : > * device/device_emul.h (device_emulation_ops): Modify struct definition. > - io_return_t (*close) (void *); > + io_return_t (*close) (mach_device_t); Well, no, this is really a void *, it's not always a mach_device_t: the cod

Re: [PATCH 54/68] Convert from K&R to ANSI

2014-04-04 Thread Samuel Thibault
Hello, Marin Ramesa, le Fri 29 Nov 2013 22:54:19 +0100, a écrit : > Convert from K&R style function definitions to ANSI style > function definitions. Further normalize whitespace and correct > an error from GCC which results from this change. At last, I found time to see how to apply this. I hav

Re: [PATCH 14/18] Fix initialization from incompatible pointer type

2014-04-04 Thread Samuel Thibault
Marin Ramesa, le Fri 06 Dec 2013 16:29:56 +0100, a écrit : > Fix initialization from incompatible pointer type in the initialization > of the field dev_name_list in i386/i386at/conf.c. Reworked and applied. Thanks! Samuel

Re: GCC's -fsplit-stack disturbing Mach's vm_allocate

2014-04-04 Thread Samuel Thibault
Hello, Thomas Schwinge, le Wed 26 Jun 2013 23:30:03 +0200, a écrit : > On Sat, 22 Jun 2013 08:15:46 -0700, Ian Lance Taylor wrote: > > Go can work without split stack. In that case libgo will use much > > larger stacks for goroutines, to reduce the chance of running out of > > stack space (see S

Re: problem on shut-down

2014-04-04 Thread Justus Winter
Quoting Riccardo Mottola (2014-04-04 15:29:06) > >> >"sendisgs stop" > > sendsigs uses killall5 which has been proven to be problematic. In > > short it does something like 'pkill -SIGSTOP . ; pkill -SIGXXX .'. > > This is problematic for a multiserver OS like Hurd, because stopping > > vital syst

Re: problem on shut-down

2014-04-04 Thread Riccardo Mottola
Hi,, Justus Winter wrote: >it's not inetd. It actually stops here: > >root@ithil:~# ps -x Please use ps -Ax: root@pluto ~ # ps -x|wc --lines 313 root@pluto ~ # ps -Ax|wc --lines 349 I'll do next time :) I actually used ps -x just to look what init.d process was being run with "stop". >11434

Re: problem on shut-down

2014-04-04 Thread Justus Winter
Hi Riccardo :) Quoting Riccardo Mottola (2014-04-04 03:37:23) > Hi, > > On 04/02/2014 02:20 PM, Justus Winter wrote: > > Ok, I installed openbsd-inetd and telnetd on a test vm. service > > {start,stop} openbsd-inetd work as expected. > it's not inetd. It actually stops here: > > root@ithil:~# p