fork timing hole and runaway children
Ken Lalonde
kwlalonde at watmath.UUCP
Wed Aug 21 12:44:12 AEST 1985
Every term, at least one student writes one of those charming programs
like "for (;;) fork();". Shooting them manually is tiresome and
sometimes impossible if the cancer has spread, so we added a new system
call:
zonk(uid, signal)
Sends the given signal to all processes owned by uid, returning a count
of the number of processes found. You can type "zonk fool" to send
SIGKILL to all of fool's processes.
If there is interest, I'll post the code.
More information about the Comp.unix.wizards
mailing list