Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/mach In task_terminate, unstop the process so tha...



details:   https://anonhg.NetBSD.org/src/rev/7c66825a4633
branches:  trunk
changeset: 556040:7c66825a4633
user:      manu <manu%NetBSD.org@localhost>
date:      Sat Dec 06 15:16:10 2003 +0000

description:
In task_terminate, unstop the process so that we can really terminate it now

diffstat:

 sys/compat/mach/mach_task.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r b6a51b33fcca -r 7c66825a4633 sys/compat/mach/mach_task.c
--- a/sys/compat/mach/mach_task.c       Sat Dec 06 15:15:19 2003 +0000
+++ b/sys/compat/mach/mach_task.c       Sat Dec 06 15:16:10 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mach_task.c,v 1.45 2003/12/06 15:15:19 manu Exp $ */
+/*     $NetBSD: mach_task.c,v 1.46 2003/12/06 15:16:10 manu Exp $ */
 
 /*-
  * Copyright (c) 2002-2003 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 #include "opt_compat_darwin.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mach_task.c,v 1.45 2003/12/06 15:15:19 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mach_task.c,v 1.46 2003/12/06 15:16:10 manu Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -658,6 +658,7 @@
        rep->rep_msgh.msgh_size = sizeof(*rep) - sizeof(rep->rep_trailer);
        rep->rep_msgh.msgh_local_port = req->req_msgh.msgh_local_port;
        rep->rep_msgh.msgh_id = req->req_msgh.msgh_id + 100;
+       proc_unstop(tl->l_proc);
        rep->rep_retval = 0;
        rep->rep_trailer.msgh_trailer_size = 8;
 



Home | Main Index | Thread Index | Old Index