Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/rpc.lockd



In article <20030314135309.AB5CAB004%cvs.netbsd.org@localhost>,
YAMAMOTO Takashi <yamt%netbsd.org@localhost> 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



Home | Main Index | Thread Index | Old Index