[ale] SIGKILL

Fletch fletch at phydeaux.org
Mon Apr 15 11:19:17 EDT 2002


>>>>> "Chris" == Chris Fowler <cfowler at outpostsentinel.com> writes:

    Chris> I know that SIGKILL can not be caught.  I would like my
    Chris> init to do something if it gets SIGKILL.  Currently if it
    Chris> get SIGTERM it issues the reboot() system call.  Can I do
    Chris> the same with SIGKILL.  Thanks, Chris Fowler


        You can't catch it, so you can't do anything with it.  The
kernel never delivers KILL to a process, it simply stops the process
cold.  A userland process never sees any sign of a KILL whatsoever.

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
                      |                                               U

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list