1. NAME

ipcperms - check IPC permissions

2. SYNOPSIS

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

3. ARGUMENTS

ns
    IPC namespace

ipcp
    IPC permission set

flag
    desired permission set.

4. 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>

5. COPYRIGHT