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/911181ae0540
branches:  trunk
changeset: 460913:911181ae0540
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 2b7e01b9eca9 -r 911181ae0540 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