Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2006 16:58:44 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 109942 for review
Message-ID:  <200611141658.kAEGwiD6088717@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109942

Change 109942 by rdivacky@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));



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