Re: [PATCH] fix Xioctl-proto.defs creation

2016-02-22 Thread Bartlomiej Puget
On Mon, Feb 22, 2016 at 14:26:27 +0100, Justus Winter wrote: > Can you briefly describe how to test that change? Simple test can be to create mioctl-headers.h mentioned in Makefile containing single line: #include and try to make mioctl-proto.defs. Without the patch, make will exit with errors.

[PATCH hurd] xxx crash logging works

2016-02-22 Thread Justus Winter
From: Justus Winter <4win...@informatik.uni-hamburg.de> --- hurd/paths.h | 1 + trans/crash.c | 116 ++ 2 files changed, 117 insertions(+) diff --git a/hurd/paths.h b/hurd/paths.h index a13ba9b..c6cb7a0 100644 --- a/hurd/paths.h +++ b/hu

[PATCH hurd] utils/mount: start translators with stderr closed

2016-02-22 Thread Justus Winter
Apparently some users of 'mount' do not cope with any output being generated from the spawned translator. * utils/mount.c (do_mount): Start translators with stderr closed. --- utils/mount.c | 33 ++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/util

Logging crashes

2016-02-22 Thread Justus Winter
Hello, I patched my crash server to log crashes to the Mach console. It is nowhere near being ready for inclusion, but it might be very handy on the build servers. The most problematic bit of the patch is how to log the crashes. The patch simply includes a platform specific syscall stub. I gue

Re: [PATCH] fix Xioctl-proto.defs creation

2016-02-22 Thread Samuel Thibault
Hello, Bartlomiej Puget, on Mon 22 Feb 2016 02:50:14 +0100, wrote: > I had little problems generating Xioctl-proto.defs. After looking into > the code and few little changes scripts has worked. That looks reasonable, thanks! Samuel

Re: Logging crashes

2016-02-22 Thread Samuel Thibault
Justus Winter, on Mon 22 Feb 2016 20:48:00 +0100, wrote: > I'd love to see the libc provide a mach_print function for everyone to > use. Well, I'd say it's a matter of just doing it :) Samuel

Re: [PATCH hurd] utils/mount: start translators with stderr closed

2016-02-22 Thread Samuel Thibault
Hello, Justus Winter, on Mon 22 Feb 2016 19:22:14 +0100, wrote: > Apparently some users of 'mount' do not cope with any output being > generated from the spawned translator. > > * utils/mount.c (do_mount): Start translators with stderr closed. Yep, that fixes the issue, thanks! > --- > utils/m

Re: active translators stdout/stderr

2016-02-22 Thread Justus Winter
Quoting Samuel Thibault (2016-02-22 16:53:21) > Justus Winter, on Mon 22 Feb 2016 16:48:04 +0100, wrote: > > > - When mounting the cdrom image from debian installer scripts, the > > > script is not considered finished since the isofs translator is still > > > running and possibly emitting outpu

Re: active translators stdout/stderr

2016-02-22 Thread Samuel Thibault
Justus Winter, on Mon 22 Feb 2016 17:02:29 +0100, wrote: > Quoting Samuel Thibault (2016-02-22 16:53:21) > > Justus Winter, on Mon 22 Feb 2016 16:48:04 +0100, wrote: > > > > - When mounting the cdrom image from debian installer scripts, the > > > > script is not considered finished since the isof

Re: active translators stdout/stderr

2016-02-22 Thread Samuel Thibault
Justus Winter, on Mon 22 Feb 2016 16:48:04 +0100, wrote: > > - When mounting the cdrom image from debian installer scripts, the > > script is not considered finished since the isofs translator is still > > running and possibly emitting output. > > Shouldn't bla=$(blubb) only care for blubbs st

Re: active translators stdout/stderr

2016-02-22 Thread Samuel Thibault
Justus Winter, on Mon 22 Feb 2016 16:48:04 +0100, wrote: > Quoting Samuel Thibault (2016-02-14 22:09:37) > > We have various issues with the active translators' stdout/stderr: > > > > - When mounting /proc from /etc/init.d/rc, stdout/stderr is closed, and > > thus as soon as e.g. mtab reports a

Re: active translators stdout/stderr

2016-02-22 Thread Justus Winter
Quoting Samuel Thibault (2016-02-14 22:09:37) > We have various issues with the active translators' stdout/stderr: > > - When mounting /proc from /etc/init.d/rc, stdout/stderr is closed, and > thus as soon as e.g. mtab reports a warning, it gets SIGLOST and dies. I don't think that is correct.

Re: [PATCH] fix Xioctl-proto.defs creation

2016-02-22 Thread Justus Winter
Hi :) Quoting Bartlomiej Puget (2016-02-22 02:50:14) > I had little problems generating Xioctl-proto.defs. After looking into > the code and few little changes scripts has worked. > > Please, check my patch. If I was doing something wrong, please tell me, > but I think that the script was the pro