diff options
| -rw-r--r-- | man7/pid_namespaces.7 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/man7/pid_namespaces.7 b/man7/pid_namespaces.7 index 042bd4f678..5e49633cc2 100644 --- a/man7/pid_namespaces.7 +++ b/man7/pid_namespaces.7 @@ -182,9 +182,14 @@ because doing so would change the caller's idea of its own PID (as reported by .BR getpid ()), which would break many applications and libraries. + To put things another way: a process's PID namespace membership is determined when the process is created and cannot be changed thereafter. +Among other things, this means that the parental relationship +between processes mirrors the parental between PID namespaces: +the parent of a process is either in the same namespace +or resides in the immediate parent PID namespace. Every thread in a process must be in the same PID namespace. For this reason, the two following call sequences will fail: |
