MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-nios2nommu / ipcbuf.h
blobef59533399c0788affad76f5b2b0ad13bffcb8d8
1 #ifndef __NIOS2_IPCBUF_H__
2 #define __NIOS2_IPCBUF_H__
4 /* Copied from asm-m68k/ipcbuf.h
5 * The user_ipc_perm structure for Nios architecture.
6 * Note extra padding because this structure is passed back and forth
7 * between kernel and user space.
9 * Pad space is left for:
10 * - 32-bit mode_t and seq
11 * - 2 miscellaneous 32-bit values
13 * Copyright (C) 2004, Microtronix Datacom Ltd.
15 * All rights reserved.
17 * This program is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation; either version 2 of the License, or
20 * (at your option) any later version.
22 * This program is distributed in the hope that it will be useful, but
23 * WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
25 * NON INFRINGEMENT. See the GNU General Public License for more
26 * details.
28 * You should have received a copy of the GNU General Public License
29 * along with this program; if not, write to the Free Software
30 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
34 struct ipc64_perm
36 __kernel_key_t key;
37 __kernel_uid32_t uid;
38 __kernel_gid32_t gid;
39 __kernel_uid32_t cuid;
40 __kernel_gid32_t cgid;
41 __kernel_mode_t mode;
42 unsigned short __pad1;
43 unsigned short seq;
44 unsigned short __pad2;
45 unsigned long __unused1;
46 unsigned long __unused2;
49 #endif /* __NIOS2_IPCBUF_H__ */