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>
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
22 __kernel_uid32_t cuid;
23 __kernel_gid32_t cgid;
25 unsigned short __pad1;
28 unsigned short __pad2;
29 #endif /* ! __s390x__ */
30 unsigned long __unused1;
31 unsigned long __unused2;
34 #endif /* __S390_IPCBUF_H__ */