Loading kernel/ptrace.c +1 −1 Original line number Diff line number Diff line Loading @@ -562,7 +562,7 @@ static int ptrace_resume(struct task_struct *child, long request, } child->exit_code = data; wake_up_process(child); wake_up_state(child, __TASK_TRACED); return 0; } Loading kernel/signal.c +4 −2 Original line number Diff line number Diff line Loading @@ -3023,8 +3023,10 @@ SYSCALL_DEFINE2(signal, int, sig, __sighandler_t, handler) SYSCALL_DEFINE0(pause) { while (!signal_pending(current)) { current->state = TASK_INTERRUPTIBLE; schedule(); } return -ERESTARTNOHAND; } Loading Loading
kernel/ptrace.c +1 −1 Original line number Diff line number Diff line Loading @@ -562,7 +562,7 @@ static int ptrace_resume(struct task_struct *child, long request, } child->exit_code = data; wake_up_process(child); wake_up_state(child, __TASK_TRACED); return 0; } Loading
kernel/signal.c +4 −2 Original line number Diff line number Diff line Loading @@ -3023,8 +3023,10 @@ SYSCALL_DEFINE2(signal, int, sig, __sighandler_t, handler) SYSCALL_DEFINE0(pause) { while (!signal_pending(current)) { current->state = TASK_INTERRUPTIBLE; schedule(); } return -ERESTARTNOHAND; } Loading