| 1 |
|
| 2 | #ifndef __PARISC_IPCBUF_H__
|
| 3 | #define __PARISC_IPCBUF_H__
|
| 4 |
|
| 5 | #include <asm/bitsperlong.h>
|
| 6 | #include <linux/posix_types.h>
|
| 7 |
|
| 8 | |
| 9 | * The ipc64_perm structure for PA-RISC is almost identical to
|
| 10 | * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the kernel.
|
| 11 | * 'seq' has been changed from long to int so that it's the same size
|
| 12 | * on 64-bit kernels as on 32-bit ones.
|
| 13 |
|
| 14 |
|
| 15 | struct ipc64_perm
|
| 16 | {
|
| 17 | __kernel_key_t key;
|
| 18 | __kernel_uid_t uid;
|
| 19 | __kernel_gid_t gid;
|
| 20 | __kernel_uid_t cuid;
|
| 21 | __kernel_gid_t cgid;
|
| 22 | #if __BITS_PER_LONG != 64
|
| 23 | unsigned short int __pad1;
|
| 24 | #endif
|
| 25 | __kernel_mode_t mode;
|
| 26 | unsigned short int __pad2;
|
| 27 | unsigned short int seq;
|
| 28 | unsigned int __pad3;
|
| 29 | unsigned long long int __unused1;
|
| 30 | unsigned long long int __unused2;
|
| 31 | };
|
| 32 |
|
| 33 | #endif
|