Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern As long as we still claim to build each subcomponen...
details: https://anonhg.NetBSD.org/src/rev/5a9248916676
branches: trunk
changeset: 341428:5a9248916676
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Fri Nov 06 01:00:41 2015 +0000
description:
As long as we still claim to build each subcomponent separately, make
sure we properly define the (sub)set of syscalls we're building.
diffstat:
sys/kern/sysv_ipc.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r 69ec1629ac20 -r 5a9248916676 sys/kern/sysv_ipc.c
--- a/sys/kern/sysv_ipc.c Thu Nov 05 22:35:24 2015 +0000
+++ b/sys/kern/sysv_ipc.c Fri Nov 06 01:00:41 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysv_ipc.c,v 1.28 2015/05/13 02:06:25 pgoyette Exp $ */
+/* $NetBSD: sysv_ipc.c,v 1.29 2015/11/06 01:00:41 pgoyette Exp $ */
/*-
* Copyright (c) 1998, 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_ipc.c,v 1.28 2015/05/13 02:06:25 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_ipc.c,v 1.29 2015/11/06 01:00:41 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_sysv.h"
@@ -137,18 +137,24 @@
#endif
static const struct syscall_package sysvipc_syscalls[] = {
+#ifdef SYSVSHM
{ SYS___shmctl50, 0, (sy_call_t *)sys___shmctl50 },
{ SYS_shmat, 0, (sy_call_t *)sys_shmat },
{ SYS_shmdt, 0, (sy_call_t *)sys_shmdt },
{ SYS_shmget, 0, (sy_call_t *)sys_shmget },
+#endif
+#ifdef SYSVSEM
{ SYS_____semctl50, 0, (sy_call_t *)sys_____semctl50 },
{ SYS_semget, 0, (sy_call_t *)sys_semget },
{ SYS_semop, 0, (sy_call_t *)sys_semop },
{ SYS_semconfig, 0, (sy_call_t *)sys_semconfig },
+#endif
+#ifdef SYSVMSG
{ SYS___msgctl50, 0, (sy_call_t *)sys___msgctl50 },
{ SYS_msgget, 0, (sy_call_t *)sys_msgget },
{ SYS_msgsnd, 0, (sy_call_t *)sys_msgsnd },
{ SYS_msgrcv, 0, (sy_call_t *)sys_msgrcv },
+#endif
{ 0, 0, NULL }
};
Home |
Main Index |
Thread Index |
Old Index