*BSD News Article 15369


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!hal9000!monty!newton
From: newton@monty.apana.org.au (Mark Newton)
Newsgroups: comp.os.386bsd.development
Distribution: world
Subject: Re: SIGKILL and kill
References: <52580002@hpuamsa.neth.hp.com>
Message-ID: <9304299140@monty.apana.org.au>
Organization: APANA South Australia - State mail hub
Date: Thu, 29 Apr 93 20:30:08 +0930
Lines: 19

reink@hpuamsa.neth.hp.com (Reinier Kleipool) writes:
>  If You want to alter the behavior of the kill Program, maybe it
> could be altered is such a way that if the user asks for signal 9
> the kill program first sends a SIGTERM, sleeps for ten seconds,
> and then send a SIGKILL.
>   In this manner users are still free to use (abuse) SIGKILL, but
> (victim)programs would still have a 10 sec grace period....

That's not going to be fantastically useful if the user happens to 
be using a shell which supports kill as a builtin.

Is recompiling the shell with this feature considered overkill? :-)

   - mark

--------------------------------------------------------------------
I tried an internal modem,                 newton@monty.apana.org.au
     but it hurt when I walked.                          Mark Newton
----- Voice: +61-8-3224071 --------------- Data: +61-8-3222915 -----