1 #include <inttypes.h>
2 typedef uint32_t mpers_ptr_t;
3 typedef
4 struct {
5 struct {
6 int32_t __key;
7 uint32_t uid;
8 uint32_t gid;
9 uint32_t cuid;
10 uint32_t cgid;
11 uint16_t mode;
12 uint16_t __pad1;
13 uint16_t __seq;
14 uint16_t __pad2;
15 unsigned char mpers_filler_1[4];
16 uint64_t __glibc_reserved1;
17 uint64_t __glibc_reserved2;
18 } ATTRIBUTE_PACKED shm_perm;
19 uint32_t shm_segsz;
20 unsigned char mpers_filler_2[4];
21 int64_t shm_atime;
22 int64_t shm_dtime;
23 int64_t shm_ctime;
24 int32_t shm_cpid;
25 int32_t shm_lpid;
26 uint64_t shm_nattch;
27 uint64_t __glibc_reserved4;
28 uint64_t __glibc_reserved5;
29 } ATTRIBUTE_PACKED mx32_shmid_ds_t;
30 #define MPERS_mx32_shmid_ds_t mx32_shmid_ds_t
31