1IPC_CHECK_PERMS(9) Kernel IPC facilities IPC_CHECK_PERMS(9)
2
3
4
6 ipc_check_perms - check security and permissions for an IPC
7
9 int ipc_check_perms(struct kern_ipc_perm * ipcp, struct ipc_ops * ops,
10 struct ipc_params * params);
11
13 ipcp
14 ipc permission set
15
16 ops
17 the actual security routine to call
18
19 params
20 its parameters
21
23 This routine is called by sys_msgget, sys_semget and sys_shmget when
24 the key is not IPC_PRIVATE and that key already exists in the ids IDR.
25
26 On success, the IPC id is returned.
27
28 It is called with ipc_ids.rw_mutex and ipcp->lock held.
29
31Kernel Hackers Manual 2.6. November 2011 IPC_CHECK_PERMS(9)