Writing a program that cannot be killed except by reboot

Mike Faber sleepy at wybbs.mi.org
Wed Apr 17 09:14:01 AEST 1991


In article <444 at wrdis01.af.mil> mcgough at wrdis01.af.mil (Jeffrey B. McGough) writes:
>Is there anyway to block ALL signals to a program so that it
>may not be killed by kill???
>I know the manual says that sig 9 may not be caught or blocked
>but I was wondering if there might be a funny (strange, interesting)
>hack to get around this...

How about # rm /bin/kill  :-)

--
sleepy at wybbs.uucp
Michael Faber



More information about the Comp.unix.programmer mailing list