ipcperms
Prev | IPC utilities | Next

## Name

ipcperms — check IPC permissions

## Synopsis

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

## Arguments

`ns`

  IPC namespace

`ipcp`

  IPC permission set

`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>

Prev | Up | Next
ipc_rcu_alloc | Home | kernel_to_ipc64_perm