• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "syscall.h"
2 
3 #define IPCOP_semop      1
4 #define IPCOP_semget     2
5 #define IPCOP_semctl     3
6 #define IPCOP_semtimedop 4
7 #define IPCOP_msgsnd    11
8 #define IPCOP_msgrcv    12
9 #define IPCOP_msgget    13
10 #define IPCOP_msgctl    14
11 #define IPCOP_shmat     21
12 #define IPCOP_shmdt     22
13 #define IPCOP_shmget    23
14 #define IPCOP_shmctl    24
15 
16 #ifndef IPC_64
17 #define IPC_64 0x100
18 #endif
19 
20 #define IPC_TIME64 (IPC_STAT & 0x100)
21 
22 #define IPC_CMD(cmd) (((cmd) & ~IPC_TIME64) | IPC_64)
23 
24 #define IPC_HILO(b,t) ((b)->t = (b)->__##t##_lo | 0LL+(b)->__##t##_hi<<32)
25