3 ms·
I believe that the various OSes have implemented appropriate syscalls such as openat to support it e.x. https://go.dev/blog/osroot https://go.dev/blog/osroot
by arccy 1y ago
I believe that the various OSes have implemented appropriate syscalls such as openat to support it
e.x. https://go.dev/blog/osroot https://go.dev/blog/osroot
- kijin 1y agoEven that doesn't protect you from bind mounts. The rationale seems to be that only root can create bind mounts. But guess what, unprivileged users can also create all sorts of crazy mounts with fuse. The whole idea of a hierarchical directory structure is an illusion. There can be all sorts of cross-links and even circular references.