xref: /linux/arch/parisc/include/uapi/asm/ipcbuf.h (revision b889fcf63cb62e7fdb7816565e28f44dbe4a76a5)
1 #ifndef __PARISC_IPCBUF_H__
2 #define __PARISC_IPCBUF_H__
3 
4 /*
5  * The ipc64_perm structure for PA-RISC is almost identical to
6  * kern_ipc_perm as we have always had 32-bit UIDs and GIDs in the kernel.
7  * 'seq' has been changed from long to int so that it's the same size
8  * on 64-bit kernels as on 32-bit ones.
9  */
10 
11 struct ipc64_perm
12 {
13 	key_t           key;
14 	uid_t           uid;
15 	gid_t           gid;
16 	uid_t           cuid;
17 	gid_t           cgid;
18 	unsigned short int	__pad1;
19 	mode_t          mode;
20 	unsigned short int	__pad2;
21 	unsigned short int	seq;
22 	unsigned int	__pad3;
23 	unsigned long long int __unused1;
24 	unsigned long long int __unused2;
25 };
26 
27 #endif /* __PARISC_IPCBUF_H__ */
28