| 1 |
|
| 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 | #include <linux/posix_types.h>
|
| 16 |
|
| 17 | |
| 18 | * Pad space is left for:
|
| 19 | * - 32-bit mode_t and seq
|
| 20 | * - 2 miscellaneous 32-bit values
|
| 21 | *
|
| 22 | * This file is subject to the terms and conditions of the GNU General
|
| 23 | * Public License. See the file "COPYING" in the main directory of
|
| 24 | * this archive for more details.
|
| 25 |
|
| 26 |
|
| 27 | struct ipc64_perm
|
| 28 | {
|
| 29 | __kernel_key_t key;
|
| 30 | __kernel_uid32_t uid;
|
| 31 | __kernel_gid32_t gid;
|
| 32 | __kernel_uid32_t cuid;
|
| 33 | __kernel_gid32_t cgid;
|
| 34 | __kernel_mode_t mode;
|
| 35 | unsigned long seq;
|
| 36 | unsigned long __unused1;
|
| 37 | unsigned long __unused2;
|
| 38 | };
|
| 39 |
|
| 40 | #endif
|