From owner-freebsd-hackers Sun Feb 7 11:12:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29564 for freebsd-hackers-outgoing; Sun, 7 Feb 1999 11:12:31 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gvr.gvr.org (gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29554 for ; Sun, 7 Feb 1999 11:12:28 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.8/8.8.5) id UAA03423 for freebsd-hackers@freebsd.org; Sun, 7 Feb 1999 20:12:22 +0100 (MET) Message-ID: <19990207201222.A3390@gvr.org> Date: Sun, 7 Feb 1999 20:12:22 +0100 From: Guido van Rooij To: freebsd-hackers@FreeBSD.ORG Subject: struct ipc_perm Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just noticed that our struct ipc_perm looks as follows: struct ipc_perm { ushort cuid; /* creator user id */ ushort cgid; /* creator group id */ ushort uid; /* user id */ ushort gid; /* group id */ ushort mode; /* r/w permission */ ushort seq; /* sequence # (to generate unique msg/sem/shm id) */ key_t key; /* user specified msg/sem/shm key */ }; On SYSV systems, this struct looks as follows: struct ipc_perm { ushort uid; /* user id */ ushort gid; /* group id */ ushort cuid; /* creator user id */ ushort cgid; /* creator group id */ ushort mode; /* r/w permission */ ushort seq; /* sequence # (to generate unique msg/sem/shm id) */ key_t key; /* user specified msg/sem/shm key */ }; Is there any reason why we have that different? Especially since in our ipc.h, we see: /* * SVID compatible ipc.h file */ -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message