Subject: Re: CVS commit: src/usr.sbin/rpc.lockd
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 03/14/2003 15:24:27
In article <20030314135309.AB5CAB004@cvs.netbsd.org>,
YAMAMOTO Takashi <yamt@netbsd.org> wrote:
>
>Module Name:	src
>Committed By:	yamt
>Date:		Fri Mar 14 13:53:08 UTC 2003
>
>Modified Files:
>	src/usr.sbin/rpc.lockd: lockd_lock.c
>
>Log Message:
>for fork'ed children, use _exit instead of exit.

Is there a reason for that change? Using _exit() avoids doing the
stdio cleanup and the atexit calls.  It is recommended for vfork()
where the address space of the parent and the child are shared
after the vfork() and before the exec(). There is no reason to do
it for fork(), right?

christos