Name

ipc_rmid — remove an ipc identifier

Synopsis

void ipc_rmid (struct ipc_ids * ids,
 struct kern_ipc_perm * ipcp);
 

Arguments

ids

ipc identifier set

ipcp

ipc perm structure containing the identifier to remove

Description

ipc_ids.rwsem (as a writer) and the spinlock for this ID are held before this function is called, and remain locked on the exit.