Source-Changes-HG archive

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

[src/trunk]: src/sys/kern If we need to handle old-version signals, load the ...



details:   https://anonhg.NetBSD.org/src/rev/dad19e7ec461
branches:  trunk
changeset: 846286:dad19e7ec461
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Nov 09 23:34:13 2019 +0000

description:
If we need to handle old-version signals, load the version-specific
"compat_16" module.  There is no longer a monolithic "compat" module!

XXX pullup-9 needed

diffstat:

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

diffs (27 lines):

diff -r 16ce6250ef96 -r dad19e7ec461 sys/kern/sys_sig.c
--- a/sys/kern/sys_sig.c        Sat Nov 09 23:30:54 2019 +0000
+++ b/sys/kern/sys_sig.c        Sat Nov 09 23:34:13 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_sig.c,v 1.48 2019/09/08 07:00:20 maxv Exp $        */
+/*     $NetBSD: sys_sig.c,v 1.49 2019/11/09 23:34:13 pgoyette Exp $    */
 
 /*-
  * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.48 2019/09/08 07:00:20 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_sig.c,v 1.49 2019/11/09 23:34:13 pgoyette Exp $");
 
 #include "opt_dtrace.h"
 
@@ -414,7 +414,7 @@
                        else if ((p->p_lflag & PL_SIGCOMPAT) == 0) {
                                kernconfig_lock();
                                if (sendsig_sigcontext_vec == NULL) {
-                                       (void)module_autoload("compat",
+                                       (void)module_autoload("compat_16",
                                            MODULE_CLASS_ANY);
                                }
                                if (sendsig_sigcontext_vec != NULL) {



Home | Main Index | Thread Index | Old Index