Messages in this thread | | | From | "Eric W. Biederman" <> | Date | Thu, 21 Apr 2022 10:01:02 -0500 | Subject | Re: [RFC][PATCH] ptrace: Don't change __state |
| |
Oleg Nesterov <oleg@redhat.com> writes:
> On 04/20, Eric W. Biederman wrote: >> @@ -892,7 +891,6 @@ static int ptrace_resume(struct task_struct *child, long request, >> * status and clears the code too; this can't race with the tracee, it >> * takes siglock after resume. >> */ >> - need_siglock = data && !thread_group_empty(current); >> if (need_siglock) >> spin_lock_irq(&child->sighand->siglock); > > Hmm?
A half backed out change (I thought ptrace_resume would need to clear JOBCTL_DELAY_WAKEKILL) in ptrace_resume. I somehow failed to restore the need_siglock line.
Eric
| |