Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern back to using SIGSTOP..



details:   https://anonhg.NetBSD.org/src/rev/ab7ac9281f39
branches:  trunk
changeset: 348874:ab7ac9281f39
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 12 20:03:17 2016 +0000

description:
back to using SIGSTOP..

diffstat:

 sys/kern/sys_ptrace_common.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 46db074e1e68 -r ab7ac9281f39 sys/kern/sys_ptrace_common.c
--- a/sys/kern/sys_ptrace_common.c      Sat Nov 12 19:44:59 2016 +0000
+++ b/sys/kern/sys_ptrace_common.c      Sat Nov 12 20:03:17 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_ptrace_common.c,v 1.3 2016/11/11 17:10:04 christos Exp $   */
+/*     $NetBSD: sys_ptrace_common.c,v 1.4 2016/11/12 20:03:17 christos Exp $   */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -118,7 +118,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.3 2016/11/11 17:10:04 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.4 2016/11/12 20:03:17 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ptrace.h"
@@ -814,7 +814,7 @@
                 * Stop the target.
                 */
                proc_changeparent(t, p);
-               signo = SIGTRAP;
+               signo = SIGSTOP;
                goto sendsig;
 
        case  PT_GET_EVENT_MASK:



Home | Main Index | Thread Index | Old Index