We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f1c93d commit ff348f2Copy full SHA for ff348f2
1 file changed
kernel/source/system/syscall/proc.cpp
@@ -1016,7 +1016,7 @@ namespace syscall::proc
1016
if (uargs.set_tid && uargs.set_tid_size == 0)
1017
return -EINVAL;
1018
1019
- if ((uargs.exit_signal & ~csignal) || uargs.exit_signal > 64 /* _NSIG */)
+ if ((uargs.exit_signal & ~csignal) || uargs.exit_signal > sched::nsig)
1020
1021
1022
constexpr auto max = std::numeric_limits<int>::max();
0 commit comments