summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-03-26 03:18:15 +0300
committerJens Axboe <axboe@kernel.dk>2021-03-27 23:09:10 +0300
commit5a842a7448bbfa9bda0a74ca4f239c1b02bb98d8 (patch)
tree748d031df2d508ca55cd4db4485c3752901b8ce8 /kernel
parentb16b3855d89fba640996fefdd3a113c0aa0e380d (diff)
downloadlinux-5a842a7448bbfa9bda0a74ca4f239c1b02bb98d8.tar.xz
Revert "signal: don't allow sending any signals to PF_IO_WORKER threads"
This reverts commit 5be28c8f85ce99ed2d329d2ad8bdd18ea19473a5. IO threads now take signals just fine, so there's no reason to limit them specifically. Revert the change that prevented that from happening. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/signal.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index d22177d37b21..9e172b9341f4 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -834,9 +834,6 @@ static int check_kill_permission(int sig, struct kernel_siginfo *info,
if (!valid_signal(sig))
return -EINVAL;
- /* PF_IO_WORKER threads don't take any signals */
- if (t->flags & PF_IO_WORKER)
- return -ESRCH;
if (!si_fromuser(info))
return 0;