diff options
author | Oleg Nesterov <oleg@redhat.com> | 2024-01-22 18:16:31 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-22 15:38:52 -0800 |
commit | 08701813a1b439f01e52c10e66ee2e99d9d23c6c (patch) | |
tree | 2fa580f2642228f8f054a639a83ec76f093429ed /lib/debug_info.c | |
parent | d6bbab8f352efb0533d3fa4af09bb60da770ecc5 (diff) | |
download | linux-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/debug_info.c')
0 files changed, 0 insertions, 0 deletions