]> git.baikalelectronics.ru Git - kernel.git/commit
signal: don't allow sending any signals to PF_IO_WORKER threads
authorJens Axboe <axboe@kernel.dk>
Sat, 20 Mar 2021 01:25:13 +0000 (19:25 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 21 Mar 2021 15:39:32 +0000 (09:39 -0600)
commitec8155c88900dda963f53b4070bc9124f3f2002a
treea0e1f35dc49381c58cfb40e10d32d14aaf5996ed
parent84e871a9c3a0dec97121a5770cbd319beeccde9f
signal: don't allow sending any signals to PF_IO_WORKER threads

They don't take signals individually, and even if they share signals with
the parent task, don't allow them to be delivered through the worker
thread. Linux does allow this kind of behavior for regular threads, but
it's really a compatability thing that we need not care about for the IO
threads.

Reported-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/signal.c