]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Slight tweak to fork1() calling conventions. Add a third argument so
authorpeter <peter@FreeBSD.org>
Wed, 30 Jun 1999 15:33:41 +0000 (15:33 +0000)
committerpeter <peter@FreeBSD.org>
Wed, 30 Jun 1999 15:33:41 +0000 (15:33 +0000)
commita9c3f31bb0491224037a1ed7887f14c277021020
treef9777c45536ff9ecf106091344d191a7bea0d671
parentd49508a31321de096bc8049987226e2b5d102577
Slight tweak to fork1() calling conventions.  Add a third argument so
the caller can easily find the child proc struct.  fork(), rfork() etc
syscalls set p->p_retval[] themselves.  Simplify the SYSINIT_KT() code
and other kernel thread creators to not need to use pfind() to find the
child based on the pid.  While here, partly tidy up some of the fork1()
code for RF_SIGSHARE etc.
sys/kern/init_main.c
sys/kern/kern_fork.c
sys/kern/kern_linker.c
sys/kern/vfs_aio.c
sys/sys/proc.h