From owner-freebsd-bugs Wed Jan 29 8:29:29 2003 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D3FC37B401 for ; Wed, 29 Jan 2003 08:29:27 -0800 (PST) Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9217643E4A for ; Wed, 29 Jan 2003 08:29:25 -0800 (PST) (envelope-from flynn@energyhq.homeip.net) Received: from christine.energyhq.tk (christine.energyhq.tk [192.168.0.1]) by energyhq.homeip.net (Postfix) with SMTP id 3C0F6AF5A8 for ; Wed, 29 Jan 2003 17:29:20 +0100 (CET) Date: Wed, 29 Jan 2003 17:28:42 +0100 From: Miguel Mendez To: freebsd-bugs@freebsd.org Subject: Fw: Error in rfork(2) man page Message-Id: <20030129172842.173c5558.flynn@energyhq.homeip.net> Reply-To: Samy Al Bahra X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i386-portbld-freebsd5.0) X-Face: 1j}k*2E>Y\+C~E|/wehi[:dCM,{N7/uE 3o# P,{t7gA/qnovFDDuyQV.1hdT7&#d)q"xY33}{_GS>kk'S{O]nE$A`T|\4&p\&mQyexOLb8}FO List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.llJbqKU3Q,l+Uh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Forwared on behalf of Samy Al Bahra Begin forwarded message: Date: 29 Jan 2003 19:32:02 +0300 From: Samy Al Bahra To: flynn@energyhq.homeip.net Subject: Error in rfork(2) man page Description ------------- The rfork() man page states that RFPROC must be set as the current implementation 'requires' this flag to always be set. Well from usage and kern_fork.c (/usr/src/sys/kern/kern_fork.c) and vm_glue.c (/usr/src/sys/vm/vm_glue.c) it seems that the current implementation does not 'require' this at all and it behaves as it should behave with the RFPROC flag. Fix ------- The fix for this is very minute, simply change the current RFPROC macro description to: "If set, a new process is created; otherwise, changes affect the current process." instead of the current "If set a new process is created; otherwise changes affect the current process. The current implementation requires this flag to always be set." Regards, Samy -- Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Of course it runs NetBSD! --=.llJbqKU3Q,l+Uh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+OAE+nLctrNyFFPERAoL0AJ0fyuXaiyFbtxUoFmmm82xIrZNB1QCgt50r rP1Gh7Z5IWIfsKiM4vhaj1U= =/Wfq -----END PGP SIGNATURE----- --=.llJbqKU3Q,l+Uh-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message