ipc_addid(9)

ipc_addid9

Add an ipc identifier

Usage

int ipc_addid(struct ipc_ids * ids, struct kern_ipc_perm * new, int size);

Arguments

ids

ipc identifier set

new

new ipc permission set

size

limit for the number of used ids

Overview

Add an entry 'new' to the ipc ids idr. The permissions object is initialised and the first free entry is set up and the id assigned is returned. The 'new' entry is returned in a locked state on success. On failure the entry is not locked and a negative err-code is returned.

Called with writer ipc_ids.rwsem held.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.