*BSD News Article 14817


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!menudo.uh.edu!uuneo!sugar!peter
From: peter@NeoSoft.com (Peter da Silva)
Subject: Re: SIGKILL and kill
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Wed, 21 Apr 1993 01:38:20 GMT
Message-ID: <C5t8Jx.EH7@sugar.neosoft.com>
Keywords: SIGNALS SECURITY
References: <9304171535.ab08751@gate.demon.co.uk> <C5nsF8.35H@sugar.neosoft.com> <9304200033.af09432@gate.demon.co.uk>
Lines: 17

In article <9304200033.af09432@gate.demon.co.uk> damian@centrix.demon.co.uk (damian) writes:
> all SIGTERM should mean "Please *you* die, and cleanup" (as opposed to the
> SIGKILL's "Die sucker! Now!" :-)).

That's what "kill 0" is for. "Please clean up and exit". It's the "everyone
out of the pool" call.

> Still I suppose I can't think of a better signal that sh could use for the
> kill 0.

Actually, it's not the shell. "kill" in most non-BSD and all pre 4.2 systems
is a standalone.
-- 
Peter da Silva.  <peter@sugar.neosoft.com>.
 `-_-'   Oletko halannut suttasi tänään?
  'U`    
Tarjoilija, tämä ateria elää vielä.