Scroll to navigation

IPCPERMS(9) Kernel IPC facilities IPCPERMS(9)

NAME

ipcperms - check ipc permissions

SYNOPSIS

int ipcperms(struct ipc_namespace * ns, struct kern_ipc_perm * ipcp, short flag);

ARGUMENTS

struct ipc_namespace * ns

ipc namespace

struct kern_ipc_perm * ipcp

ipc permission set

short flag

desired permission set

DESCRIPTION

Check user, group, other permissions for access to ipc resources. return 0 if allowed

flag will most probably be 0 or S_...UGO from <linux/stat.h>

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11