Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern let the modular code load the sysv modules.
details: https://anonhg.NetBSD.org/src/rev/decd28b27999
branches: trunk
changeset: 321985:decd28b27999
user: christos <christos%NetBSD.org@localhost>
date: Thu Apr 12 20:43:44 2018 +0000
description:
let the modular code load the sysv modules.
diffstat:
sys/kern/kern_stub.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r 3f218ef91fb2 -r decd28b27999 sys/kern/kern_stub.c
--- a/sys/kern/kern_stub.c Thu Apr 12 20:36:59 2018 +0000
+++ b/sys/kern/kern_stub.c Thu Apr 12 20:43:44 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_stub.c,v 1.44 2017/12/16 18:42:22 christos Exp $ */
+/* $NetBSD: kern_stub.c,v 1.45 2018/04/12 20:43:44 christos Exp $ */
/*-
* Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
@@ -62,11 +62,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_stub.c,v 1.44 2017/12/16 18:42:22 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_stub.c,v 1.45 2018/04/12 20:43:44 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_ktrace.h"
#include "opt_sysv.h"
+#include "opt_modular.h"
#endif
#include <sys/param.h>
@@ -89,6 +90,7 @@
/*
* SYSV Semaphores, Shared Memory, Message Queues
*/
+#ifndef MODULAR
#ifndef SYSVMSG
__strong_alias(msgctl1,enosys);
#endif
@@ -98,6 +100,7 @@
#ifndef SYSVSEM
__strong_alias(semctl1,enosys);
#endif
+#endif
/*
* ktrace stubs. ktruser() goes to enosys as we want to fail the syscall,
Home |
Main Index |
Thread Index |
Old Index