From owner-cvs-sys Sat Apr 12 19:31:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA10874 for cvs-sys-outgoing; Sat, 12 Apr 1997 19:31:45 -0700 (PDT) Received: from werple.net.au (melb.werple.net.au [203.9.190.18]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA10859 for ; Sat, 12 Apr 1997 19:31:40 -0700 (PDT) Received: (qmail 21046 invoked by uid 5); 13 Apr 1997 02:31:31 -0000 Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id MAA05870; Sun, 13 Apr 1997 12:31:43 +1000 (EST) From: John Birrell Message-Id: <199704130231.MAA05870@freebsd1.cimlogic.com.au> Subject: Re: cvs commit: src/sys/i386/ibcs2 imgact_coff.c src/sys/i386/i386 pmap.c src/sys/i386/linux imgact_linux.c src/sys/kern imgact_aou To: dyson@freefall.freebsd.org (John Dyson) Date: Sun, 13 Apr 1997 12:31:42 +1000 (EST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199704130148.SAA09397@freefall.freebsd.org> from John Dyson at "Apr 12, 97 06:48:40 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk John Dyson wrote: [...] > Implement rfork(!RFPROC !RFMEM), which allows a thread to divorce its memory > from the other threads of a group. > > Implement rfork(!RFPROC RFCFDG), which closes all file descriptors, eliminating > possible existing shares with other threads/processes. > > Implement rfork(!RFPROC RFFDG), which divorces the file descriptors for a > thread from the rest of the group. > > Fix the case where a thread does an exec. It is almost nonsense for a thread > to modify the other threads address space by an exec, so we > now automatically divorce the address space before modifying it. [...] Where do these changes leave rfork(!RFPROC RFMEM !RFFDG)??? 8-) -- John Birrell - jb@cimlogic.com.au; jb@netbsd.org; jb@freebsd.org CIMlogic Pty Ltd, 119 Cecil Street, South Melbourne Vic 3205, Australia Tel +61 3 9690 6900 Fax +61 3 9690 6650 Mob +61 418 353 137