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
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
ipc_schedule_free — free ipc + rcu space
ipc_immediate_free — free ipc + 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_lock — Lock an ipc structure without rw_mutex held
ipcget — Common sys_*get code
ipc_update_perm — update the permissions of an IPC.
ipcctl_pre_down — retrieve an ipc and check permissions for some IPC_XXX cmd
ipc_parse_version — IPC call version