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