| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
|---|
| 3 | | - * Licensed under the GPL |
|---|
| 4 | 4 | */ |
|---|
| 5 | 5 | |
|---|
| 6 | 6 | #include <linux/stddef.h> |
|---|
| .. | .. |
|---|
| 32 | 32 | if (ret) { |
|---|
| 33 | 33 | printk(KERN_ERR "flush_thread - clearing address space failed, " |
|---|
| 34 | 34 | "err = %d\n", ret); |
|---|
| 35 | | - force_sig(SIGKILL, current); |
|---|
| 35 | + force_sig(SIGKILL); |
|---|
| 36 | 36 | } |
|---|
| 37 | 37 | get_safe_registers(current_pt_regs()->regs.gp, |
|---|
| 38 | 38 | current_pt_regs()->regs.fp); |
|---|
| .. | .. |
|---|
| 44 | 44 | { |
|---|
| 45 | 45 | PT_REGS_IP(regs) = eip; |
|---|
| 46 | 46 | PT_REGS_SP(regs) = esp; |
|---|
| 47 | | - current->ptrace &= ~PT_DTRACE; |
|---|
| 47 | + clear_thread_flag(TIF_SINGLESTEP); |
|---|
| 48 | 48 | #ifdef SUBARCH_EXECVE1 |
|---|
| 49 | 49 | SUBARCH_EXECVE1(regs->regs); |
|---|
| 50 | 50 | #endif |
|---|