Module Name: src
Committed By: pgoyette
Date: Sat Nov 9 23:34:13 UTC 2019
Modified Files:
src/sys/kern: sys_sig.c
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/kern/sys_sig.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/kern/sys_sig.c
diff -u src/sys/kern/sys_sig.c:1.48 src/sys/kern/sys_sig.c:1.49
--- src/sys/kern/sys_sig.c:1.48 Sun Sep 8 07:00:20 2019
+++ src/sys/kern/sys_sig.c Sat Nov 9 23:34:13 2019
@@ -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 @@ sigaction1(struct lwp *l, int signum, co
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) {