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 ipc_namespace * ns,
10 struct kern_ipc_perm * ipcp, struct ipc_ops * ops,
11 struct ipc_params * params);
12
14 ns
15 IPC namespace
16
17 ipcp
18 ipc permission set
19
20 ops
21 the actual security routine to call
22
23 params
24 its parameters
25
27 This routine is called by sys_msgget, sys_semget and sys_shmget when
28 the key is not IPC_PRIVATE and that key already exists in the ids IDR.
29
30 On success, the IPC id is returned.
31
32 It is called with ipc_ids.rwsem and ipcp->lock held.
33
35Kernel Hackers Manual 3.10 June 2019 IPC_CHECK_PERMS(9)