From 31eb438886d8b481b73ff3ba0f06d55f522f3c7a Mon Sep 17 00:00:00 2001 From: Dmitry Chagin Date: Sun, 24 May 2015 15:44:41 +0000 Subject: 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 --- sys/amd64/linux32/linux.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sys/amd64') diff --git a/sys/amd64/linux32/linux.h b/sys/amd64/linux32/linux.h index 28fcdd57e2af..5fcf8dfbe962 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 */ -- cgit v1.2.3