1c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner/****************************************************************************
2c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ****************************************************************************
3c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***
4c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***   This header was automatically generated from a Linux kernel header
5c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***   of the same name, to make information necessary for userspace to
6c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***   call into the kernel available to libc.  It contains only constants,
7c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***   structures, and macros generated from the original header, and thus,
8c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***   contains no copyrightable information.
9c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ***
10c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ****************************************************************************
11c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner ****************************************************************************/
12c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#ifndef _LINUX_IPC_H
13c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define _LINUX_IPC_H
14c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner
15c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#include <linux/types.h>
16c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner
17c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_PRIVATE ((__kernel_key_t) 0)
18c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner
19c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turnerstruct ipc_perm
20c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner{
21c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner __kernel_key_t key;
22c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner __kernel_uid_t uid;
23c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner __kernel_gid_t gid;
24c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner __kernel_uid_t cuid;
25c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner __kernel_gid_t cgid;
26c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner __kernel_mode_t mode;
27c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner unsigned short seq;
28c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner};
29c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner
30c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#include <asm/ipcbuf.h>
31c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner
32c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_CREAT 00001000
33c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_EXCL 00002000
34c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_NOWAIT 00004000
35c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner
36c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_DIPC 00010000
37c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_OWN 00020000
38c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner
39c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_RMID 0
40c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_SET 1
41c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_STAT 2
42c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_INFO 3
43c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner
44c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_OLD 0
45c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#define IPC_64 0x0100
46c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner
47c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner#endif
48c817c5210e4207908b83faaf08a2c5b95251f871David 'Digit' Turner
49