From owner-cvs-sys Sun Aug 18 19:28:37 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA06822 for cvs-sys-outgoing; Sun, 18 Aug 1996 19:28:37 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA06802; Sun, 18 Aug 1996 19:28:27 -0700 (PDT) Date: Sun, 18 Aug 1996 19:28:27 -0700 (PDT) From: Julian Elischer Message-Id: <199608190228.TAA06802@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exit.c kern_fork.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/08/18 19:28:26 Modified: sys/kern kern_exit.c kern_fork.c Log: add callout lists for exit() and fork() I've been meaning to do this for AGES as I keep having to patch those routines whenever I write a proprietary package or similar.. any module that assigns resources to processes needs to know when these events occur. there are existsing modules that should be modified to take advantage of these.. e.g. SYSV IPC primatives presently have #ifdef entries in exit() this also helps with making LKMs out of such things.. (see the man pages at_exit(9) and at_fork(9)) Revision Changes Path 1.36 +71 -1 src/sys/kern/kern_exit.c 1.24 +72 -1 src/sys/kern/kern_fork.c