Subject: Re: Why ?
To: Charu Pakar <charlie007000@yahoo.ca>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 02/11/2002 15:38:54
On Mon, 11 Feb 2002, Charu Pakar wrote:

> AS a newbie, I am unable to understand why exit1() is
> called twice consecutively with different arguments in
> sys_execve().
>
> I do understand the need to exit1() in the event of
> failure to 'exec', but why is it done twice ?

Not sure, but from looking at the code, one of the times is sending teh
SIG_ABRT signal, the other is actually killing the process.

Take care,

Bill