Subject: remotely exitting a process
To: None <email@example.com>
From: Emmanuel Dreyfus <firstname.lastname@example.org>
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?