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)
This commit is contained in:
parent
e446795886
commit
5bee73d962
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user