1IPCGET_PUBLIC(9) Kernel IPC facilities IPCGET_PUBLIC(9)
2
3
4
6 ipcget_public - get an ipc object or create a new one
7
9 int ipcget_public(struct ipc_namespace * ns, struct ipc_ids * ids,
10 struct ipc_ops * ops, struct ipc_params * params);
11
13 ns
14 namespace
15
16 ids
17 IPC identifer set
18
19 ops
20 the actual creation routine to call
21
22 params
23 its parameters
24
26 This routine is called by sys_msgget, sys_semget and sys_shmget when
27 the key is not IPC_PRIVATE. It adds a new entry if the key is not found
28 and does some permission / security checkings if the key is found.
29
30 On success, the ipc id is returned.
31
33Kernel Hackers Manual 2.6. November 2011 IPCGET_PUBLIC(9)