Subject: Re: Process Death Detection!
To: Charu Pakar <charlie007000@yahoo.ca>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-kern
Date: 02/11/2002 16:46:10
Charu Pakar <charlie007000@yahoo.ca> writes:
> Is the sys_exit() the only single point from where the
> process dies ? If not which are the other points of
> exits and under which conditions.
The sys_exit() function is not the only point, but you're close. The
sys_exit() function calls exit1(), which does the real work of
exiting, and all exits will pass through there. Other notable
functions that call exit1() are kern_sig.c:postsig() and
kern_exec.c:sys_execve().
- Nathan