diff options
Diffstat (limited to 'libc/sysdeps/linux/common/bits/ipc.h')
-rw-r--r-- | libc/sysdeps/linux/common/bits/ipc.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libc/sysdeps/linux/common/bits/ipc.h b/libc/sysdeps/linux/common/bits/ipc.h index 7103365ac..7cd2fd0c5 100644 --- a/libc/sysdeps/linux/common/bits/ipc.h +++ b/libc/sysdeps/linux/common/bits/ipc.h @@ -35,22 +35,22 @@ # define IPC_INFO 3 /* See ipcs. */ #endif -/* Type of a SYSV IPC key. */ -typedef int __kernel_key_t; - /* Special key values. */ #define IPC_PRIVATE ((__key_t) 0) /* Private key. */ - /* Data structure used to pass permission information to IPC operations. */ struct ipc_perm -{ - __kernel_key_t __key; - __kernel_uid_t uid; - __kernel_gid_t gid; - __kernel_uid_t cuid; - __kernel_gid_t cgid; - __kernel_mode_t mode; - unsigned long seq; -}; + { + __key_t __key; /* Key. */ + __uid_t uid; /* Owner's user ID. */ + __gid_t gid; /* Owner's group ID. */ + __uid_t cuid; /* Creator's user ID. */ + __gid_t cgid; /* Creator's group ID. */ + unsigned short int mode; /* Read/write permission. */ + unsigned short int __pad1; + unsigned short int __seq; /* Sequence number. */ + unsigned short int __pad2; + unsigned long int __unused1; + unsigned long int __unused2; + }; |