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