diff --git a/kernel/signal.c b/kernel/signal.c index 24be82c0aae36ea636f8c346a67b7abcf7323590..02ef3548aeb086b22b49b3cfa4d68819a9a1d5b5 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -551,9 +551,7 @@ static int check_kill_permission(int sig, struct siginfo *info, !capable(CAP_KILL)) { switch (sig) { case SIGCONT: - read_lock(&tasklist_lock); sid = task_session(t); - read_unlock(&tasklist_lock); /* * We don't return the error if sid == NULL. The * task was unhashed, the caller must notice this.