aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-11-30 10:59:42 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-11-30 11:02:49 +0100
commit89f54905a0e30879bab370263b43ba8b6f04d3ea (patch)
tree70b1af5d548aa8a7df2c6966572042b4cc92e852
parentf766e43c28bb95f55c05294ab21aa14b5cfd6e35 (diff)
downloadman-pages-89f54905a0e30879bab370263b43ba8b6f04d3ea.tar.gz
clone.2: Since 2.6.30, CLONE_NEWIPC also supports POSIX message queues
See kernel commit 7eafd7c74c3f2e67c27621b987b28397110d643f Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/clone.212
1 files changed, 11 insertions, 1 deletions
diff --git a/man2/clone.2 b/man2/clone.2
index 0582057b61..aca10fda9c 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -40,7 +40,7 @@
.\" FIXME Document CLONE_NEWUSER, which is new in 2.6.23
.\" (also supported for unshare()?)
.\"
-.TH CLONE 2 2012-07-19 "Linux" "Linux Programmer's Manual"
+.TH CLONE 2 2012-11-30 "Linux" "Linux Programmer's Manual"
.SH NAME
clone, __clone2 \- create a child process
.SH SYNOPSIS
@@ -272,6 +272,16 @@ 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.
+Since Linux 2.6.30,
+.\" commit 7eafd7c74c3f2e67c27621b987b28397110d643f
+.\" https://lwn.net/Articles/312232/
+.B CLONE_NEWIPC
+also supports POSIX message queues, meaning that
+.B CLONE_NEWIPC
+causes a new instance of a POSIX message queue file system (see
+.BR mq_overview (7))
+to be created and mounted.
+
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.