summaryrefslogtreecommitdiffstats
path: root/sys/modules/sem
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-09-19 00:43:32 +0000
committeralfred <alfred@FreeBSD.org>2002-09-19 00:43:32 +0000
commitd063152de15b045caca51218d4f7046ceaf07fbe (patch)
tree03a4032eb3cb9c260f9b522b0e619f27dfa99d94 /sys/modules/sem
parent6ac7d5d588d5761ad6b9baeffb32c74bcff7217b (diff)
downloadFreeBSD-src-d063152de15b045caca51218d4f7046ceaf07fbe.zip
FreeBSD-src-d063152de15b045caca51218d4f7046ceaf07fbe.tar.gz
Add the rest of the kernel support for the sem_ API in kern/uipc_sem.c.
Option 'P1003_1B_SEMAPHORES' to compile them in, or load the "sem" module to activate them. Have kern/makesyscalls.sh emit an include for sys/_semaphore.h into sysproto.h to pull in the typedef for semid_t. Add the syscalls to the syscall table as module stubs.
Diffstat (limited to 'sys/modules/sem')
-rw-r--r--sys/modules/sem/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/sem/Makefile b/sys/modules/sem/Makefile
new file mode 100644
index 0000000..0a1dba5
--- /dev/null
+++ b/sys/modules/sem/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../kern
+
+KMOD= sem
+SRCS= uipc_sem.c opt_posix.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud