Fix a recent regression regarding valid signals.
Submitted by: rdivacky
This commit is contained in:
parent
a3f4000fda
commit
357a456178
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user