Merge tag 'for-5.8/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device...
[linux/fpc-iii.git] / arch / parisc / include / uapi / asm / ipcbuf.h
blobedf266204b499bab44f618923895fec302361db1
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef __PARISC_IPCBUF_H__
3 #define __PARISC_IPCBUF_H__
5 #include <asm/bitsperlong.h>
6 #include <linux/posix_types.h>
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.
15 struct ipc64_perm
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;
33 #endif /* __PARISC_IPCBUF_H__ */