You know how in Linux procfs, each process has these cwd and root symlinks?: $ l...

@wolf480pl@mstdn.io

You know how in Linux procfs, each process has these cwd and root symlinks?:

$ ls -l /proc/$$/
[...]
lrwxrwxrwx [...] cwd -> /home/wolf480
lrwxrwxrwx [...] root -> /

these are not real symlinks - if you try to traverse them, you will get the same directories that that process sees, even if it's in a different mount namespace.

You can use that to peek into containers.

To me, this feels kinda like The Matrix's "backdoors" (that whilte corridor with green doors)