ipc_namespaces(7) — Linux manual page


ipc_namespaces(7)   Miscellaneous Information Manual   ipc_namespaces(7)

NAME         top

       ipc_namespaces - overview of Linux IPC namespaces

DESCRIPTION         top

       IPC namespaces isolate certain IPC resources, namely, System V
       IPC objects (see sysvipc(7)) and (since Linux 2.6.30) POSIX
       message queues (see mq_overview(7)).  The common characteristic
       of these IPC mechanisms 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 namespace are visible to all other processes that are
       members of that namespace, but are not visible to processes in
       other IPC namespaces.

       The following /proc interfaces are distinct in each IPC

       •  The POSIX message queue interfaces in /proc/sys/fs/mqueue.

       •  The System V IPC interfaces in /proc/sys/kernel, namely:
          msgmax, msgmnb, msgmni, sem, shmall, shmmax, shmmni, and

       •  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         top

       nsenter(1), unshare(1), clone(2), setns(2), unshare(2),
       mq_overview(7), namespaces(7), sysvipc(7)

Linux man-pages (unreleased)   2024-05-02              ipc_namespaces(7)

Pages that refer to this page: nsenter(1)unshare(1)clone(2)lttng-ust(3)systemd.exec(5)mq_overview(7)namespaces(7)sysvipc(7)