summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2024-01-22 18:16:31 +0100
committerAndrew Morton <akpm@linux-foundation.org>2024-02-22 15:38:52 -0800
commit08701813a1b439f01e52c10e66ee2e99d9d23c6c (patch)
tree2fa580f2642228f8f054a639a83ec76f093429ed /lib
parentd6bbab8f352efb0533d3fa4af09bb60da770ecc5 (diff)
downloadlinux-stable-08701813a1b439f01e52c10e66ee2e99d9d23c6c.tar.gz
linux-stable-08701813a1b439f01e52c10e66ee2e99d9d23c6c.tar.bz2
linux-stable-08701813a1b439f01e52c10e66ee2e99d9d23c6c.zip
ptrace_attach: shift send(SIGSTOP) into ptrace_set_stopped()
Turn send_sig_info(SIGSTOP) into send_signal_locked(SIGSTOP) and move it from ptrace_attach() to ptrace_set_stopped(). This looks more logical and avoids lock(siglock) right after unlock(). Link: https://lkml.kernel.org/r/20240122171631.GA29844@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions