Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __PPC64_IPCBUF_H__ |
| 2 | #define __PPC64_IPCBUF_H__ |
| 3 | |
| 4 | /* |
| 5 | * The ipc64_perm structure for the PPC is identical to kern_ipc_perm |
| 6 | * as we have always had 32-bit UIDs and GIDs in the kernel. |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU General Public License |
| 10 | * as published by the Free Software Foundation; either version |
| 11 | * 2 of the License, or (at your option) any later version. |
| 12 | */ |
| 13 | |
| 14 | struct ipc64_perm |
| 15 | { |
| 16 | __kernel_key_t key; |
| 17 | __kernel_uid_t uid; |
| 18 | __kernel_gid_t gid; |
| 19 | __kernel_uid_t cuid; |
| 20 | __kernel_gid_t cgid; |
| 21 | __kernel_mode_t mode; |
| 22 | unsigned int seq; |
| 23 | unsigned int __pad1; |
| 24 | unsigned long __unused1; |
| 25 | unsigned long __unused2; |
| 26 | }; |
| 27 | |
| 28 | #endif /* __PPC64_IPCBUF_H__ */ |