1 .\" Copyright (c) 2019 by Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" %%%LICENSE_START(VERBATIM)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date. The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein. The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
26 .TH IPC_NAMESPACES 7 2019-08-02 "Linux" "Linux Programmer's Manual"
28 ipc_namespaces \- overview of Linux IPC namespaces
30 IPC namespaces isolate certain IPC resources,
31 namely, System V IPC objects (see
33 and (since Linux 2.6.30)
34 .\" commit 7eafd7c74c3f2e67c27621b987b28397110d643f
35 .\" https://lwn.net/Articles/312232/
36 POSIX message queues (see
38 The common characteristic of these IPC mechanisms is that IPC
39 objects are identified by mechanisms other than filesystem
42 Each IPC namespace has its own set of System V IPC identifiers and
43 its own POSIX message queue filesystem.
44 Objects created in an IPC namespace are visible to all other processes
45 that are members of that namespace,
46 but are not visible to processes in other IPC namespaces.
50 interfaces are distinct in each IPC namespace:
52 The POSIX message queue interfaces in
53 .IR /proc/sys/fs/mqueue .
55 The System V IPC interfaces in
56 .IR /proc/sys/kernel ,
68 The System V IPC interfaces in
71 When an IPC namespace is destroyed
72 (i.e., when the last process that is a member of the namespace terminates),
73 all IPC objects in the namespace are automatically destroyed.
75 Use of IPC namespaces requires a kernel that is configured with the