PERFORCE change 109942 for review

Roman Divacky rdivacky at FreeBSD.org
Tue Nov 14 16:58:46 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=109942

Change 109942 by rdivacky at rdivacky_witten on 2006/11/14 16:58:37

	__WCLONE is valid option to waitpid too.

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#33 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#33 (text+ko) ====

@@ -803,7 +803,7 @@
 	 * this is necessary because the test in kern_wait doesnt
 	 * work because we mess with the options here
 	 */
-	if (args->options &~ (WUNTRACED|WNOHANG|WCONTINUED))
+	if (args->options &~ (WUNTRACED|WNOHANG|WCONTINUED|__WCLONE))
 	   	return (EINVAL);
 
 	options = (args->options & (WNOHANG | WUNTRACED));


More information about the p4-projects mailing list