1 #ifndef _ASM_X86_SHMBUF_H
2 #define _ASM_X86_SHMBUF_H
5 * The shmid64_ds structure for x86 architecture.
6 * Note extra padding because this structure is passed back and forth
7 * between kernel and user space.
9 * Pad space on 32 bit is left for:
10 * - 64-bit time_t to solve y2038 problem
11 * - 2 miscellaneous 32-bit values
13 * Pad space on 64 bit is left for:
14 * - 2 miscellaneous 64-bit values
18 struct ipc64_perm shm_perm
; /* operation perms */
19 size_t shm_segsz
; /* size of segment (bytes) */
20 __kernel_time_t shm_atime
; /* last attach time */
22 unsigned long __unused1
;
24 __kernel_time_t shm_dtime
; /* last detach time */
26 unsigned long __unused2
;
28 __kernel_time_t shm_ctime
; /* last change time */
30 unsigned long __unused3
;
32 __kernel_pid_t shm_cpid
; /* pid of creator */
33 __kernel_pid_t shm_lpid
; /* pid of last operator */
34 unsigned long shm_nattch
; /* no. of current attaches */
35 unsigned long __unused4
;
36 unsigned long __unused5
;
45 unsigned long __unused1
;
46 unsigned long __unused2
;
47 unsigned long __unused3
;
48 unsigned long __unused4
;
51 #endif /* _ASM_X86_SHMBUF_H */