]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "kernel: treat PF_IO_WORKER like PF_KTHREAD for ptrace/signals"
authorJens Axboe <axboe@kernel.dk>
Fri, 26 Mar 2021 00:18:59 +0000 (18:18 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 27 Mar 2021 20:09:10 +0000 (14:09 -0600)
commite3e286e41e0cd0ffecf424c2d83cd0be11d5f30f
treefa78fead640f49825101eca243a9a34eee3a9234
parent3d91fdae5ed81827db220e669b8e39d4b440b8d2
Revert "kernel: treat PF_IO_WORKER like PF_KTHREAD for ptrace/signals"

This reverts commit adf6461ce36573350744e3be4a3124475ea70de2.

The IO threads do allow signals now, including SIGSTOP, and we can allow
ptrace attach. Attaching won't reveal anything interesting for the IO
threads, but it will allow eg gdb to attach to a task with io_urings
and IO threads without complaining. And once attached, it will allow
the usual introspection into regular threads.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/ptrace.c
kernel/signal.c