1IPCPERMS(9) Kernel IPC facilities IPCPERMS(9)
23
4
NAME
6ipcperms - check IPC permissions
7
SYNOPSIS
9int ipcperms(struct ipc_namespace * ns, struct kern_ipc_perm * ipcp,
10short flag);
11
ARGUMENTS
13ns
14IPC namespace
1516
ipcp
17IPC permission set
1819
flag
20desired permission set.
21
DESCRIPTION
23Check user, group, other permissions for access to ipc resources.
24return 0 if allowed
2526
flag will most probably be 0 or S_...UGO from <linux/stat.h>
27
COPYRIGHT
29Kernel Hackers Manual 3.10 June 2019 IPCPERMS(9)