diff options
author | netchild <netchild@FreeBSD.org> | 2006-10-20 10:09:40 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-10-20 10:09:40 +0000 |
commit | 357a456178e603a35402002937a1910d348a094f (patch) | |
tree | c6841811c2cee7e38cd5ecf9cdb6b246a76ac6b7 /sys | |
parent | a3f4000fdab822f799ea0739e36aaaa01718471c (diff) | |
download | FreeBSD-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.c | 2 |
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) |