Subject: remotely exitting a process
To: None <firstname.lastname@example.org>
From: Emmanuel Dreyfus <email@example.com>
Date: 11/28/2005 13:03:06
Linux's exit_group system call is meant to exit a whole group of processes.
In order to emulate it correctly, I must be able to cause a process to exit
from another process.
How could this be done correctly? I tried sending SIGKILL to the members
of the program group, but that does not work very well, as it fires an
unwanted SIGCHLD to the parent.
Calling sys_exit(l, v, retval) within the context of a lwp different than
l does not work. What alternative do I have?