Chapter 5. Kernel IPC facilities

Table of Contents

IPC utilities

IPC utilities

ipc_init — initialise ipc subsystem
ipc_init_ids — initialise ipc identifiers
ipc_init_proc_interface — create a proc interface for sysipc types using a seq_file interface.
ipc_findkey — find a key in an ipc identifier set
ipc_get_maxid — get the last assigned id
ipc_addid — add an ipc identifier
ipcget_new — create a new ipc object
ipc_check_perms — check security and permissions for an ipc object
ipcget_public — get an ipc object or create a new one
ipc_rmid — remove an ipc identifier
ipc_alloc — allocate ipc space
ipc_free — free ipc space
ipc_rcu_alloc — allocate ipc and rcu space
ipcperms — check ipc permissions
kernel_to_ipc64_perm — convert kernel ipc permissions to user
ipc64_perm_to_ipc_perm — convert new ipc permissions to old
ipc_obtain_object_idr
ipc_lock — lock an ipc structure without rwsem held
ipc_obtain_object_check
ipcget — Common sys_*get code
ipc_update_perm — update the permissions of an ipc object
ipcctl_pre_down_nolock — retrieve an ipc and check permissions for some IPC_XXX cmd
ipc_parse_version — ipc call version