[net.sources] vmshow break-out

elias@eosp1.UUCP (12/01/83)

=====================================
As distributed, "vmshow" uses "sigignore" in the "catch" routine; running
it like this appeared to effectively make it unkillable by all except
su; the fix i put in was just to change the "sigignore"'s to "sigrelse"'s.

Nice little piece of code...

saj@iuvax.UUCP (02/15/84)

#R:eosp1:-41300:iuvax:11700003:000:580
iuvax!vahe    Dec  2 10:22:00 1983

The problem mentioned in the previous article about "vmshow" can
get real nasty.  I changed it myself (I'm the guy that wrote the beast)
by simply commenting out all the catch stuff for SIGQUIT.  There seems
to be a race condition, where if you give it a control-C, it ignores
it, AND any subsequent ones.  So if you have vmshow, comment
out the lines saying "sigset(SIGQUIT,cleanup)" and similar things;
or do as the previous article suggests, and change the sigignore
in cleanup() to sigrelse.

yours, Vahe Sarkissian
UUCP : {ihnss | ihnp4}!inuxc!iuvax!vahe
CSNET: Vahe@Indiana