diff options
Diffstat (limited to 'include/linux/ipc.h')
-rw-r--r-- | include/linux/ipc.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/linux/ipc.h b/include/linux/ipc.h index 3fd3ddd5f0d9..ee111834091c 100644 --- a/include/linux/ipc.h +++ b/include/linux/ipc.h | |||
@@ -49,6 +49,34 @@ struct ipc_perm | |||
49 | #define IPC_64 0x0100 /* New version (support 32-bit UIDs, bigger | 49 | #define IPC_64 0x0100 /* New version (support 32-bit UIDs, bigger |
50 | message sizes, etc. */ | 50 | message sizes, etc. */ |
51 | 51 | ||
52 | /* | ||
53 | * These are used to wrap system calls. | ||
54 | * | ||
55 | * See architecture code for ugly details.. | ||
56 | */ | ||
57 | struct ipc_kludge { | ||
58 | struct msgbuf __user *msgp; | ||
59 | long msgtyp; | ||
60 | }; | ||
61 | |||
62 | #define SEMOP 1 | ||
63 | #define SEMGET 2 | ||
64 | #define SEMCTL 3 | ||
65 | #define SEMTIMEDOP 4 | ||
66 | #define MSGSND 11 | ||
67 | #define MSGRCV 12 | ||
68 | #define MSGGET 13 | ||
69 | #define MSGCTL 14 | ||
70 | #define SHMAT 21 | ||
71 | #define SHMDT 22 | ||
72 | #define SHMGET 23 | ||
73 | #define SHMCTL 24 | ||
74 | |||
75 | /* Used by the DIPC package, try and avoid reusing it */ | ||
76 | #define DIPC 25 | ||
77 | |||
78 | #define IPCCALL(version,op) ((version)<<16 | (op)) | ||
79 | |||
52 | #ifdef __KERNEL__ | 80 | #ifdef __KERNEL__ |
53 | 81 | ||
54 | #include <linux/kref.h> | 82 | #include <linux/kref.h> |