Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1 | /* Changes origined from m68k version. Lineo Inc. May 2001 */ |
| 2 | |
| 3 | #ifndef __BFIN_IPCBUF_H__ |
| 4 | #define __BFIN_IPCBUF_H__ |
| 5 | |
| 6 | /* |
| 7 | * The user_ipc_perm structure for m68k architecture. |
| 8 | * Note extra padding because this structure is passed back and forth |
| 9 | * between kernel and user space. |
| 10 | * |
| 11 | * Pad space is left for: |
| 12 | * - 32-bit mode_t and seq |
| 13 | * - 2 miscellaneous 32-bit values |
| 14 | */ |
| 15 | |
| 16 | struct ipc64_perm { |
| 17 | __kernel_key_t key; |
| 18 | __kernel_uid32_t uid; |
| 19 | __kernel_gid32_t gid; |
| 20 | __kernel_uid32_t cuid; |
| 21 | __kernel_gid32_t cgid; |
| 22 | __kernel_mode_t mode; |
| 23 | unsigned short __pad1; |
| 24 | unsigned short seq; |
| 25 | unsigned short __pad2; |
| 26 | unsigned long __unused1; |
| 27 | unsigned long __unused2; |
| 28 | }; |
| 29 | |
| 30 | #endif /* __BFIN_IPCBUF_H__ */ |