aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.