WIP FPC-III support
[linux/fpc-iii.git] / arch / s390 / include / uapi / asm / ipcbuf.h
blob1030cd186899e12fe19065cfa8921d9e57285f7b
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef __S390_IPCBUF_H__
3 #define __S390_IPCBUF_H__
5 #include <linux/posix_types.h>
7 /*
8 * The user_ipc_perm structure for S/390 architecture.
9 * Note extra padding because this structure is passed back and forth
10 * between kernel and user space.
12 * Pad space is left for:
13 * - 32-bit mode_t and seq
14 * - 2 miscellaneous 32-bit values
17 struct ipc64_perm
19 __kernel_key_t key;
20 __kernel_uid32_t uid;
21 __kernel_gid32_t gid;
22 __kernel_uid32_t cuid;
23 __kernel_gid32_t cgid;
24 __kernel_mode_t mode;
25 unsigned short __pad1;
26 unsigned short seq;
27 #ifndef __s390x__
28 unsigned short __pad2;
29 #endif /* ! __s390x__ */
30 unsigned long __unused1;
31 unsigned long __unused2;
34 #endif /* __S390_IPCBUF_H__ */