1 /* Analogous to kernel struct shmid64_ds used on shmctl. */
2 struct kernel_shmid64_ds
4 struct ipc_perm shm_perm
; /* operation permission struct */
5 unsigned long int shm_atime_high
;
6 unsigned long int shm_atime
; /* time of last shmat() */
7 unsigned long int shm_dtime_high
;
8 unsigned long int shm_dtime
; /* time of last shmdt() */
9 unsigned long int shm_ctime_high
;
10 unsigned long int shm_ctime
; /* time of last change by shmctl() */
11 unsigned long int __pad
;
12 size_t shm_segsz
; /* size of segment in bytes */
13 __pid_t shm_cpid
; /* pid of creator */
14 __pid_t shm_lpid
; /* pid of last shmop */
15 shmatt_t shm_nattch
; /* number of current attaches */
16 unsigned long int __unused1
;
17 unsigned long int __unused2
;