mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Fix a recent regression regarding valid signals.
Submitted by: rdivacky
This commit is contained in:
parent
c43ac89acc
commit
0f0549587b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163536
@ -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…
Reference in New Issue
Block a user