1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter 5. Kernel IPC facilities</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The Linux Kernel API"><link rel="up" href="index.html" title="The Linux Kernel API"><link rel="prev" href="API-truncate-pagecache-range.html" title="truncate_pagecache_range"><link rel="next" href="API-ipc-init.html" title="ipc_init"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 5. Kernel IPC facilities</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-truncate-pagecache-range.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="API-ipc-init.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="ipc"></a>Chapter 5. Kernel IPC facilities</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="ipc.html#idp1124933524">IPC utilities</a></span></dt></dl></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1124933524"></a>IPC utilities</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-ipc-init.html"><span class="phrase">ipc_init</span></a></span><span class="refpurpose"> — 2 initialise ipc subsystem 3 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-init-ids.html"><span class="phrase">ipc_init_ids</span></a></span><span class="refpurpose"> — 4 initialise ipc identifiers 5 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-init-proc-interface.html"><span class="phrase">ipc_init_proc_interface</span></a></span><span class="refpurpose"> — 6 create a proc interface for sysipc types using a seq_file interface. 7 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-findkey.html"><span class="phrase">ipc_findkey</span></a></span><span class="refpurpose"> — 8 find a key in an ipc identifier set 9 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-get-maxid.html"><span class="phrase">ipc_get_maxid</span></a></span><span class="refpurpose"> — 10 get the last assigned id 11 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-addid.html"><span class="phrase">ipc_addid</span></a></span><span class="refpurpose"> — 12 add an ipc identifier 13 </span></dt><dt><span class="refentrytitle"><a href="API-ipcget-new.html"><span class="phrase">ipcget_new</span></a></span><span class="refpurpose"> — 14 create a new ipc object 15 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-check-perms.html"><span class="phrase">ipc_check_perms</span></a></span><span class="refpurpose"> — 16 check security and permissions for an ipc object 17 </span></dt><dt><span class="refentrytitle"><a href="API-ipcget-public.html"><span class="phrase">ipcget_public</span></a></span><span class="refpurpose"> — 18 get an ipc object or create a new one 19 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-rmid.html"><span class="phrase">ipc_rmid</span></a></span><span class="refpurpose"> — 20 remove an ipc identifier 21 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-alloc.html"><span class="phrase">ipc_alloc</span></a></span><span class="refpurpose"> — 22 allocate ipc space 23 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-free.html"><span class="phrase">ipc_free</span></a></span><span class="refpurpose"> — 24 free ipc space 25 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-rcu-alloc.html"><span class="phrase">ipc_rcu_alloc</span></a></span><span class="refpurpose"> — 26 allocate ipc and rcu space 27 </span></dt><dt><span class="refentrytitle"><a href="API-ipcperms.html"><span class="phrase">ipcperms</span></a></span><span class="refpurpose"> — 28 check ipc permissions 29 </span></dt><dt><span class="refentrytitle"><a href="API-kernel-to-ipc64-perm.html"><span class="phrase">kernel_to_ipc64_perm</span></a></span><span class="refpurpose"> — 30 convert kernel ipc permissions to user 31 </span></dt><dt><span class="refentrytitle"><a href="API-ipc64-perm-to-ipc-perm.html"><span class="phrase">ipc64_perm_to_ipc_perm</span></a></span><span class="refpurpose"> — 32 convert new ipc permissions to old 33 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-obtain-object.html"><span class="phrase">ipc_obtain_object</span></a></span><span class="refpurpose"> — 34 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-lock.html"><span class="phrase">ipc_lock</span></a></span><span class="refpurpose"> — 35 lock an ipc structure without rwsem held 36 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-obtain-object-check.html"><span class="phrase">ipc_obtain_object_check</span></a></span><span class="refpurpose"> — 37 </span></dt><dt><span class="refentrytitle"><a href="API-ipcget.html"><span class="phrase">ipcget</span></a></span><span class="refpurpose"> — 38 Common sys_*<code class="function">get</code> code 39 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-update-perm.html"><span class="phrase">ipc_update_perm</span></a></span><span class="refpurpose"> — 40 update the permissions of an ipc object 41 </span></dt><dt><span class="refentrytitle"><a href="API-ipcctl-pre-down-nolock.html"><span class="phrase">ipcctl_pre_down_nolock</span></a></span><span class="refpurpose"> — 42 retrieve an ipc and check permissions for some IPC_XXX cmd 43 </span></dt><dt><span class="refentrytitle"><a href="API-ipc-parse-version.html"><span class="phrase">ipc_parse_version</span></a></span><span class="refpurpose"> — 44 ipc call version 45 </span></dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-truncate-pagecache-range.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="API-ipc-init.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">truncate_pagecache_range</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">ipc_init</span></td></tr></table></div></body></html> 46