PERFORCE change 108175 for review

Roman Divacky rdivacky at FreeBSD.org
Fri Oct 20 06:07:46 PDT 2006


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

Change 108175 by rdivacky at rdivacky_witten on 2006/10/20 13:06:18

	Clone can be passed exit_signal = 0. Fix that.

Affected files ...

.. //depot/projects/linuxolator/src/sys/amd64/linux32/linux32_machdep.c#13 edit
.. //depot/projects/linuxolator/src/sys/i386/linux/linux_machdep.c#9 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/amd64/linux32/linux32_machdep.c#13 (text+ko) ====

@@ -539,7 +539,7 @@
 #endif
 
 	exit_signal = args->flags & 0x000000ff;
-	if (!LINUX_SIG_VALID(exit_signal))
+	if (!LINUX_SIG_VALID(exit_signal) && exit_signal != 0)
 		return (EINVAL);
 
 	if (exit_signal <= LINUX_SIGTBLSZ)

==== //depot/projects/linuxolator/src/sys/i386/linux/linux_machdep.c#9 (text+ko) ====

@@ -365,7 +365,7 @@
 #endif
 
 	exit_signal = args->flags & 0x000000ff;
-	if (!LINUX_SIG_VALID(exit_signal))
+	if (!LINUX_SIG_VALID(exit_signal) && exit_signal != 0)
 		return (EINVAL);
 
 	if (exit_signal <= LINUX_SIGTBLSZ)


More information about the p4-projects mailing list