From 5bee73d962d69192303f1c49c0a617d5fbd7de6a Mon Sep 17 00:00:00 2001 From: kib Date: Wed, 15 Nov 2006 10:01:06 +0000 Subject: [PATCH] In rev 1.188 of linux_misc.c the added check for valid options ommited __WCLONE. This fixes it thus fixing skype/teamspeak to not keep zombies after exit. Submitted by: rdivacky Reported by: Bakul Shah (bakul at bitblocks com) --- sys/compat/linux/linux_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 178e357f7204..2ac2f0b97480 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -802,7 +802,7 @@ linux_waitpid(struct thread *td, struct linux_waitpid_args *args) * 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));