diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2021-12-20 17:15:09 -0600 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2022-01-08 12:43:57 -0600 |
commit | 6707d0fc60576fa8ef2dfa2f9009b606df35ba24 (patch) | |
tree | e59953e648e2594dab30c26d53b4f9e82118545c /kernel/ptrace.c | |
parent | 1b5a42d9c85f0e731f01c8d1129001fd8531a8a0 (diff) |
ptrace: Remove second setting of PT_SEIZED in ptrace_attach
The code is totally redundant remove it.
Link: https://lkml.kernel.org/r/20220103213312.9144-6-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/ptrace.c')
-rw-r--r-- | kernel/ptrace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c index f8589bf8d7dc..eea265082e97 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -419,8 +419,6 @@ static int ptrace_attach(struct task_struct *task, long request, if (task->ptrace) goto unlock_tasklist; - if (seize) - flags |= PT_SEIZED; task->ptrace = flags; ptrace_link(task, current); |