CVSROOT:        /cvs
Module name:    src
Changes by:     guent...@cvs.openbsd.org        2009/12/20 16:36:04

Modified files:
        sys/sys        : proc.h 
        sys/kern       : kern_exit.c 
        sys/compat/svr4: svr4_misc.c 

Log message:
svr4_sys_waitsys() was seemingly implemented by copying sys_wait4()
and hacking on it.  Since then, some of the details of finishing a
wait have changed (p_exitsig handling), so factor out the common
bit into into proc_finish_wait() and have both sys_wait4() and
svr4_sys_waitsys() call that to kill the divergence.

"looks good" deraadt@

Reply via email to