Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 17:28:42 +0100
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        freebsd-bugs@freebsd.org
Subject:   Fw: Error in rfork(2) man page
Message-ID:  <20030129172842.173c5558.flynn@energyhq.homeip.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Forwared on behalf of Samy Al Bahra 

Begin forwarded message:

Date: 29 Jan 2003 19:32:02 +0300
From: Samy Al Bahra <samy@kerneled.com>
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!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+OAE+nLctrNyFFPERAoL0AJ0fyuXaiyFbtxUoFmmm82xIrZNB1QCgt50r
rP1Gh7Z5IWIfsKiM4vhaj1U=
=/Wfq
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030129172842.173c5558.flynn>