Date: Sun, 7 Feb 1999 20:12:22 +0100 From: Guido van Rooij <guido@gvr.org> To: freebsd-hackers@FreeBSD.ORG Subject: struct ipc_perm Message-ID: <19990207201222.A3390@gvr.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990207201222.A3390>