bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Console client, signal handeling patch


From: M. Gerards
Subject: Re: Console client, signal handeling patch
Date: Fri, 2 May 2003 23:24:34 +0200
User-agent: Internet Messaging Program (IMP) 3.1

Quoting Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>:
 
> The question is, do we really want to catch those signals at all?  I think
> that we only want to catch those signals we really expect, like SIGTERM. 
> Other signals point out a bug, and we should just fix the bug instead.
> Crashing is not really acceptable.  (Compare this with sync'ing of
> filesystems).

IMHO these signals should be cought, that's why I wrote the patch ;). SIGTERM
should be cought for sure, that is what the users expects. A reason to catch the
other signals is to prevent creating a useless system. This crashing happens
quite often when hacking stuff ;).

> > 2003-05-01  Marco Gerards  <metgerards@student.han.nl>
> >         * console.c (options): Added option to disable catching of signals
> >         that can cause a coredump...
> >         (parse_opt): ...and parse it here.
> >         (sighandler): New function.
> >         (handle_signal): New macro.
> >         (main): Handle signals.
> 
> Nitpick: Empty line between date/name and entries.  Space before and after
> "...".

ok, thanks :)

Thanks,
Marco




reply via email to

[Prev in Thread] Current Thread [Next in Thread]