Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | #ifndef _ASM_M32R_IPCBUF_H |
| 2 | #define _ASM_M32R_IPCBUF_H |
| 3 | |
| 4 | /* $Id$ */ |
| 5 | |
| 6 | /* orig : i386 2.4.18 */ |
| 7 | |
| 8 | /* |
| 9 | * The ipc64_perm structure for m32r architecture. |
| 10 | * Note extra padding because this structure is passed back and forth |
| 11 | * between kernel and user space. |
| 12 | * |
| 13 | * Pad space is left for: |
| 14 | * - 32-bit mode_t and seq |
| 15 | * - 2 miscellaneous 32-bit values |
| 16 | */ |
| 17 | |
| 18 | struct ipc64_perm |
| 19 | { |
| 20 | __kernel_key_t key; |
| 21 | __kernel_uid32_t uid; |
| 22 | __kernel_gid32_t gid; |
| 23 | __kernel_uid32_t cuid; |
| 24 | __kernel_gid32_t cgid; |
| 25 | __kernel_mode_t mode; |
| 26 | unsigned short __pad1; |
| 27 | unsigned short seq; |
| 28 | unsigned short __pad2; |
| 29 | unsigned long __unused1; |
| 30 | unsigned long __unused2; |
| 31 | }; |
| 32 | |
| 33 | #endif /* _ASM_M32R_IPCBUF_H */ |