Skip to content

Commit ff348f2

Browse files
committed
replace a placeholder value in clone3
1 parent 0f1c93d commit ff348f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/source/system/syscall/proc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ namespace syscall::proc
10161016
if (uargs.set_tid && uargs.set_tid_size == 0)
10171017
return -EINVAL;
10181018

1019-
if ((uargs.exit_signal & ~csignal) || uargs.exit_signal > 64 /* _NSIG */)
1019+
if ((uargs.exit_signal & ~csignal) || uargs.exit_signal > sched::nsig)
10201020
return -EINVAL;
10211021

10221022
constexpr auto max = std::numeric_limits<int>::max();

0 commit comments

Comments
 (0)