summaryrefslogtreecommitdiffstats
path: root/sys/amd64/linux32/linux.h
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2015-05-24 15:44:41 +0000
committerdchagin <dchagin@FreeBSD.org>2015-05-24 15:44:41 +0000
commitdc4523e6a4c5069fcc945efca5e2ef11e84014ea (patch)
treec20847ed05cd06b67e74112a71c586f96615e439 /sys/amd64/linux32/linux.h
parenta92a30f54da0f10ef3807a9ce5639951610c03da (diff)
downloadFreeBSD-src-dc4523e6a4c5069fcc945efca5e2ef11e84014ea.zip
FreeBSD-src-dc4523e6a4c5069fcc945efca5e2ef11e84014ea.tar.gz
x86_64 Linux do not use multiplexing on ipc system calls.
Move struct ipc_perm definition to the MD path as it differs for 64 and 32 bit platform. Differential Revision: https://reviews.freebsd.org/D1068 Reviewed by: trasz
Diffstat (limited to 'sys/amd64/linux32/linux.h')
-rw-r--r--sys/amd64/linux32/linux.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/amd64/linux32/linux.h b/sys/amd64/linux32/linux.h
index 28fcdd5..5fcf8df 100644
--- a/sys/amd64/linux32/linux.h
+++ b/sys/amd64/linux32/linux.h
@@ -573,6 +573,16 @@ union l_semun {
l_uintptr_t __pad;
} __packed;
+struct l_ipc_perm {
+ l_key_t key;
+ l_uid16_t uid;
+ l_gid16_t gid;
+ l_uid16_t cuid;
+ l_gid16_t cgid;
+ l_ushort mode;
+ l_ushort seq;
+};
+
/*
* Socket defines
*/
OpenPOWER on IntegriCloud