summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-10-20 10:09:40 +0000
committernetchild <netchild@FreeBSD.org>2006-10-20 10:09:40 +0000
commit357a456178e603a35402002937a1910d348a094f (patch)
treec6841811c2cee7e38cd5ecf9cdb6b246a76ac6b7 /sys
parenta3f4000fdab822f799ea0739e36aaaa01718471c (diff)
downloadFreeBSD-src-357a456178e603a35402002937a1910d348a094f.zip
FreeBSD-src-357a456178e603a35402002937a1910d348a094f.tar.gz
Fix a recent regression regarding valid signals.
Submitted by: rdivacky
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/linux/linux_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c
index cef0124..5839411 100644
--- a/sys/i386/linux/linux_machdep.c
+++ b/sys/i386/linux/linux_machdep.c
@@ -365,7 +365,7 @@ linux_clone(struct thread *td, struct linux_clone_args *args)
#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)
OpenPOWER on IntegriCloud