Skip to content

Commit 5836eb2

Browse files
committed
Fix bug with 1 << PROCTRACE_WAIT_ANY
1 parent d51e28b commit 5836eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/signal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,7 @@ static void do_notify_parent_cldstop(struct task_struct *tsk,
17501750
/* wake up all the proctraces waiting for stop */
17511751
list_for_each(p, &tsk->sig_wait_list) {
17521752
sig_wait = list_entry(p, struct sig_wait_queue_struct, list);
1753-
if (sig_wait->sigmask & (1 << PROCTRACE_ANY_STOP)) {
1753+
if (sig_wait->sigmask & (1ULL << PROCTRACE_ANY_STOP)) {
17541754
printk("PROCTRACE budim frajera jer je child stao\n");
17551755
wake_up(&sig_wait->wait_queue);
17561756
}

0 commit comments

Comments
 (0)