Bug 15890 - rfork(RFMEM) on SMP generates error
Summary: rfork(RFMEM) on SMP generates error
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: alex
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-01-04 22:10 UTC by scott
Modified: 2000-06-27 11:01 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scott 2000-01-04 22:10:01 UTC
rfork() with RFMEM flag generates EOPNOTSUPP when executed on an SMP kernel.  Unfortunately, the rfork() manual page does not mention this, so you have to look at kernel source to figure it out.

Fix: 

Add to rfork(2):

BUGS

rfork() with RFMEM does not currently work on SMP kernels.  In this case rfork() will return -1 with errno EOPNOTSUPP.
Comment 1 dick 2000-01-04 22:27:04 UTC
On Tue, Jan 04, 2000 at 02:08:55PM -0800, scott@avantgo.com wrote:

> rfork() with RFMEM does not currently work on SMP kernels.  In this case rfork() will return -1 with errno EOPNOTSUPP.

True for 3.X and earlier, but not 4.0-current.  It should work in 4.0-current
since about May 1, 1999.

-- 
Richard Seaman, Jr.           email: dick@tar.com
5182 N. Maple Lane            phone: 262-367-5450
Chenequa WI 53058             fax:   262-367-5852
Comment 2 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2000-01-10 17:36:41 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-doc

This belongs in the -doc category. 
Comment 3 alex freebsd_committer freebsd_triage 2000-06-14 14:16:29 UTC
Responsible Changed
From-To: freebsd-doc->alex
Comment 4 alex freebsd_committer freebsd_triage 2000-06-27 11:00:52 UTC
State Changed
From-To: open->closed

Committed to RELENG_3, thanks!