Module Name:    src
Committed By:   pooka
Date:           Fri Mar  5 16:55:57 UTC 2010

Modified Files:
        src/sys/compat/common: compat_mod.c

Log Message:
Reset sendsig_sigcontext_vec at fini to avoid having it point at
garbage and to allow re-init of the module (if DIAGNOSTIC).


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/compat/common/compat_mod.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/common/compat_mod.c
diff -u src/sys/compat/common/compat_mod.c:1.10 src/sys/compat/common/compat_mod.c:1.11
--- src/sys/compat/common/compat_mod.c:1.10	Mon Dec 21 15:13:13 2009
+++ src/sys/compat/common/compat_mod.c	Fri Mar  5 16:55:56 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: compat_mod.c,v 1.10 2009/12/21 15:13:13 njoly Exp $	*/
+/*	$NetBSD: compat_mod.c,v 1.11 2010/03/05 16:55:56 pooka Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.10 2009/12/21 15:13:13 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.11 2010/03/05 16:55:56 pooka Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -286,6 +286,7 @@
 		if (p != NULL) {
 			return EBUSY;
 		}
+		sendsig_sigcontext_vec = NULL;
 #endif
 		/* Unlink the system calls. */
 		error = syscall_disestablish(NULL, compat_syscalls);

Reply via email to