From owner-cvs-all Mon Mar 24 13:15:41 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0906737B401; Mon, 24 Mar 2003 13:15:36 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC5243F3F; Mon, 24 Mar 2003 13:15:35 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2OLFZ0U053065; Mon, 24 Mar 2003 13:15:35 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2OLFZh3053064; Mon, 24 Mar 2003 13:15:35 -0800 (PST) Message-Id: <200303242115.h2OLFZh3053064@repoman.freebsd.org> From: John Baldwin Date: Mon, 24 Mar 2003 13:15:35 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/pseudofs pseudofs_vncache.c src/sys/kern kern_exec.c kern_exit.c kern_fork.c sysv_sem.c uipc_sem.c vfs_aio.c src/sys/netncp ncp_subr.c src/sys/sys eventhandler.h systm.h X-FreeBSD-CVS-Branch: HEAD X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhb 2003/03/24 13:15:35 PST FreeBSD src repository Modified files: sys/fs/pseudofs pseudofs_vncache.c sys/kern kern_exec.c kern_exit.c kern_fork.c sysv_sem.c uipc_sem.c vfs_aio.c sys/netncp ncp_subr.c sys/sys eventhandler.h systm.h Log: Replace the at_fork, at_exec, and at_exit functions with the slightly more flexible process_fork, process_exec, and process_exit eventhandlers. This reduces code duplication and also means that I don't have to go duplicate the eventhandler locking three more times for each of at_fork, at_exec, and at_exit. Reviewed by: phk, jake, almost complete silence on arch@ Revision Changes Path 1.23 +7 -5 src/sys/fs/pseudofs/pseudofs_vncache.c 1.217 +2 -59 src/sys/kern/kern_exec.c 1.206 +2 -65 src/sys/kern/kern_exit.c 1.188 +2 -86 src/sys/kern/kern_fork.c 1.61 +8 -4 src/sys/kern/sysv_sem.c 1.8 +12 -6 src/sys/kern/uipc_sem.c 1.157 +11 -6 src/sys/kern/vfs_aio.c 1.11 +7 -7 src/sys/netncp/ncp_subr.c 1.28 +11 -0 src/sys/sys/eventhandler.h 1.191 +0 -18 src/sys/sys/systm.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message