I have a question about number of PIDs a process has in context of Linux PID namespaces.
Suppose: (NS = namespace)
P1 (PID NS1) -> clone -> P2 (PID NS2) -> clone -> P3 (PID NS3)
How many PIDs does P3 have ?
I think the following, but I'm not sure if its correct :
- one for NS3
- one for host
- one for NS2
- one for NS1