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.
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
Responsible Changed From-To: freebsd-bugs->freebsd-doc This belongs in the -doc category.
Responsible Changed From-To: freebsd-doc->alex
State Changed From-To: open->closed Committed to RELENG_3, thanks!