Trouble killing processes in SysV/AT

Andy Valencia vandys at hpindda.HP.COM
Sat Apr 30 01:44:26 AEST 1988


	A "classic" way to make an unkillable process is to have it
block on an I/O device which isn't going to finish its I/O.  The trick
is that if it sleep()s with a certain priority or above, signals will
unblock it (and thus you get interruptible system calls), but if it's
below, then signals can't get to the process until it unblocks.  Now
all you need is for some I/O operation to get frozen (say, lose an
interrupt, or mishandle it), and you have the unkillable process.

			We are having fun now, ja?
			Andy Valencia
			vandys%hpindda.UUCP at hplabs.hp.com



More information about the Comp.unix.microport mailing list