summaryrefslogtreecommitdiffstats
path: root/sys/sys/ipc.h
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-03-03 12:11:20 +0000
committerniklas <niklas@openbsd.org>1996-03-03 12:11:20 +0000
commitbb63a7f50f08657e166aa04c0b3e4843472dd97d (patch)
tree0d6c74a26e6741facb0a438cad039be5515c2f1a /sys/sys/ipc.h
parentMakefiles seemed to be broken a bit, i don't even (diff)
downloadwireguard-openbsd-bb63a7f50f08657e166aa04c0b3e4843472dd97d.tar.xz
wireguard-openbsd-bb63a7f50f08657e166aa04c0b3e4843472dd97d.zip
From NetBSD: 960217 merge
Diffstat (limited to 'sys/sys/ipc.h')
-rw-r--r--sys/sys/ipc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/ipc.h b/sys/sys/ipc.h
index b90ffa7b72e..283768ec277 100644
--- a/sys/sys/ipc.h
+++ b/sys/sys/ipc.h
@@ -1,4 +1,5 @@
-/* $NetBSD: ipc.h,v 1.14 1995/03/26 20:24:17 jtc Exp $ */
+/* $OpenBSD: ipc.h,v 1.2 1996/03/03 12:11:52 niklas Exp $ */
+/* $NetBSD: ipc.h,v 1.15 1996/02/09 18:25:12 christos Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -82,6 +83,8 @@ struct ipc_perm {
#define IPCID_TO_IX(id) ((id) & 0xffff)
#define IPCID_TO_SEQ(id) (((id) >> 16) & 0xffff)
#define IXSEQ_TO_IPCID(ix,perm) (((perm.seq) << 16) | (ix & 0xffff))
+
+int ipcperm __P((struct ucred *, struct ipc_perm *, int));
#endif /* _KERNEL */
#ifndef _KERNEL