hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/arch/um/kernel/exec.c
....@@ -1,6 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3
- * Licensed under the GPL
44 */
55
66 #include <linux/stddef.h>
....@@ -32,7 +32,7 @@
3232 if (ret) {
3333 printk(KERN_ERR "flush_thread - clearing address space failed, "
3434 "err = %d\n", ret);
35
- force_sig(SIGKILL, current);
35
+ force_sig(SIGKILL);
3636 }
3737 get_safe_registers(current_pt_regs()->regs.gp,
3838 current_pt_regs()->regs.fp);
....@@ -44,7 +44,7 @@
4444 {
4545 PT_REGS_IP(regs) = eip;
4646 PT_REGS_SP(regs) = esp;
47
- current->ptrace &= ~PT_DTRACE;
47
+ clear_thread_flag(TIF_SINGLESTEP);
4848 #ifdef SUBARCH_EXECVE1
4949 SUBARCH_EXECVE1(regs->regs);
5050 #endif