__ptrace_unlink: kill the obsolete "FIXME" code
authorOleg Nesterov <oleg@redhat.com>
Tue, 21 Nov 2023 16:26:50 +0000 (17:26 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 01:21:32 +0000 (17:21 -0800)
commit27bbb2a0fddf70e185e800cd78f0142d45330c6c
tree762a17545cfdb91b96454739ea3b12aee167abe9
parent66242cfafeea59a0199250dda3dc98736782a739
__ptrace_unlink: kill the obsolete "FIXME" code

The corner case described by the comment is no longer possible after the
commit 7b3c36fc4c23 ("ptrace: fix task_join_group_stop() for the case when
current is traced"), task_join_group_stop() ensures that the new thread
has the correct signr in JOBCTL_STOP_SIGMASK regardless of ptrace.

Link: https://lkml.kernel.org/r/20231121162650.GA6635@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/ptrace.c