From owner-cvs-all Wed Jun 30 8:33:46 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9A22F15501; Wed, 30 Jun 1999 08:33:43 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA29188; Wed, 30 Jun 1999 08:33:43 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <199906301533.IAA29188@freefall.freebsd.org> From: Peter Wemm Date: Wed, 30 Jun 1999 08:33:43 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern init_main.c kern_fork.c kern_linker.c vfs_aio.c src/sys/sys proc.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/06/30 08:33:42 PDT Modified files: sys/kern init_main.c kern_fork.c kern_linker.c vfs_aio.c sys/sys proc.h Log: 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. Revision Changes Path 1.123 +6 -7 src/sys/kern/init_main.c 1.62 +49 -33 src/sys/kern/kern_fork.c 1.33 +6 -7 src/sys/kern/kern_linker.c 1.53 +2 -3 src/sys/kern/vfs_aio.c 1.83 +2 -4 src/sys/sys/proc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message