Skip to content

Commit

Permalink
Revert "signal: don't allow sending any signals to PF_IO_WORKER threads"
Browse files Browse the repository at this point in the history
This reverts commit 5be28c8.

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 <[email protected]>
  • Loading branch information
axboe committed Mar 27, 2021
1 parent b16b385 commit 5a842a7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5a842a7

Please sign in to comment.