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.
Unified · Split
| @@ -833,6 +833,9 @@ static int check_kill_permission(int sig, struct kernel_siginfo *info, · 832 unmodified lines | |||
| 833 | 833 | ||
| 834 | if (!valid_signal(sig)) | 834 | if (!valid_signal(sig)) |
| 835 | return -EINVAL; | 835 | return -EINVAL; |
| 836 | /* PF_IO_WORKER threads don't take any signals */ | ||
| 837 | if (t->flags & PF_IO_WORKER) | ||
| 838 | return -ESRCH; | ||
| 836 | 839 | ||
| 837 | if (!si_fromuser(info)) | 840 | if (!si_fromuser(info)) |
| 838 | return 0; | 841 | return 0; |