CINXE.COM
ipc_namespaces
<html> <head> <title>ipc_namespaces</title> <META NAME="KEYWORDS" CONTENT="ipc_namespaces"> </head> <body BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#0000ff" ALINK="#0000ff" TEXT="#000000"> <center> <h1><b>ipc_namespaces</b></h1></center> <PRE> <STRONG><A HREF="/man7/IPC_NAMESPACES">IPC_NAMESPACES(7)</A></STRONG> Linux Programmer's Manual <STRONG><A HREF="/man7/IPC_NAMESPACES">IPC_NAMESPACES(7)</A></STRONG> NAME ipc_namespaces - overview of Linux IPC namespaces DESCRIPTION IPC namespaces isolate certain IPC resources, namely, System V IPC ob- jects (see <STRONG><A HREF="/man7/sysvipc">sysvipc(7)</A></STRONG>) and (since Linux 2.6.30) POSIX message queues (see <STRONG><A HREF="/man7/mq_overview">mq_overview(7)</A></STRONG>). The common characteristic of these IPC mecha- nisms is that IPC objects are identified by mechanisms other than filesystem pathnames. Each IPC namespace has its own set of System V IPC identifiers and its own POSIX message queue filesystem. Objects created in an IPC name- space are visible to all other processes that are members of that name- space, but are not visible to processes in other IPC namespaces. The following /proc interfaces are distinct in each IPC namespace: * The POSIX message queue interfaces in /proc/sys/fs/mqueue. * The System V IPC interfaces in /proc/sys/kernel, namely: msgmax, ms- gmnb, msgmni, sem, shmall, shmmax, shmmni, and shm_rmid_forced. * The System V IPC interfaces in /proc/sysvipc. When an IPC namespace is destroyed (i.e., when the last process that is a member of the namespace terminates), all IPC objects in the namespace are automatically destroyed. Use of IPC namespaces requires a kernel that is configured with the CONFIG_IPC_NS option. SEE ALSO <STRONG><A HREF="/man1/nsenter">nsenter(1)</A></STRONG>, <STRONG><A HREF="/man1/unshare">unshare(1)</A></STRONG>, <STRONG><A HREF="/man2/clone">clone(2)</A></STRONG>, <STRONG><A HREF="/man2/setns">setns(2)</A></STRONG>, <STRONG><A HREF="/man2/unshare">unshare(2)</A></STRONG>, <STRONG><A HREF="/man7/mq_overview">mq_overview(7)</A></STRONG>, <STRONG><A HREF="/man7/namespaces">namespaces(7)</A></STRONG>, <STRONG><A HREF="/man7/sysvipc">sysvipc(7)</A></STRONG> COLOPHON This page is part of release 5.05 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2019-08-02 <STRONG><A HREF="/man7/IPC_NAMESPACES">IPC_NAMESPACES(7)</A></STRONG></PRE> <center> <h6>Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2025 <a href="http://www.he.net">Hurricane Electric</a>. All Rights Reserved.</h6></center> </body> </html>