xref: /openbmc/linux/arch/xtensa/include/uapi/asm/ipcbuf.h (revision 2359ccdd)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * include/asm-xtensa/ipcbuf.h
4  *
5  * The ipc64_perm structure for the Xtensa architecture.
6  * Note extra padding because this structure is passed back and forth
7  * between kernel and user space.
8  *
9  * Copyright (C) 2001 - 2005 Tensilica Inc.
10  */
11 
12 #ifndef _XTENSA_IPCBUF_H
13 #define _XTENSA_IPCBUF_H
14 
15 /*
16  * Pad space is left for:
17  * - 32-bit mode_t and seq
18  * - 2 miscellaneous 32-bit values
19  *
20  * This file is subject to the terms and conditions of the GNU General
21  * Public License.  See the file "COPYING" in the main directory of
22  * this archive for more details.
23  */
24 
25 struct ipc64_perm
26 {
27 	__kernel_key_t		key;
28 	__kernel_uid32_t	uid;
29 	__kernel_gid32_t	gid;
30 	__kernel_uid32_t	cuid;
31 	__kernel_gid32_t	cgid;
32 	__kernel_mode_t		mode;
33 	unsigned long		seq;
34 	unsigned long		__unused1;
35 	unsigned long		__unused2;
36 };
37 
38 #endif /* _XTENSA_IPCBUF_H */
39