From owner-freebsd-current Thu Apr 18 09:07:35 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA13738 for current-outgoing; Thu, 18 Apr 1996 09:07:35 -0700 (PDT) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA13723 for ; Thu, 18 Apr 1996 09:07:30 -0700 (PDT) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA06704; Thu, 18 Apr 1996 12:07:28 -0400 Date: Thu, 18 Apr 1996 12:07:28 -0400 From: Garrett Wollman Message-Id: <9604181607.AA06704@halloran-eldar.lcs.mit.edu> To: Sujal Patel Cc: current@freebsd.org Subject: Changes for vfork() In-Reply-To: References: Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk < said: > we sort of talked about, I think it's time to declare this an obsolete > syscall and perhaps move the vfork() call in libc to libcompat, > libc/compat-43, or libc/???? (I really don't know where it should go). There is no reason to move it at this point. Certainly it needs to be part of libc for the forseeable future. Just declare it as COMPAT in syscalls.master, change the kernel code, and document vfork as being an obsolete synonym for fork. Then create libc/compat-43/vfork.c: ------------------------------------ /* This code is in the public domain. */ #include int vfork(void) { return fork(); } ------------------------------------ and everything should Just Work. (Make sure to do all of these steps before recompiling the world, though.) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant