4 ms·
> Step two: extend user and group permissions and ownership into the realm of network resources, allowing UID/GID read/write/bind (bind in place of execute) per
by zielmicha 9y ago
> Step two: extend user and group permissions and ownership into the realm of network resources, allowing UID/GID read/write/bind (bind in place of execute) permission masks to be set for devices and IPs. By default a bind() call that does not specify an address (0.0.0.0 or ::0) will listen for packets or connections on all interfaces that the current user has the appropriate permission to bind and outgoing connections will default to the first interface the user owns.
I think that this can be achieved with network namespaces and some iptables magic, entirely in userspace (and without the whole burden of containers).
Anyway, IMO the point of containers is not network virtualization, but rather isolation of dependencies. It's much easier to just pack everything into a container than to invent proper non-root package manager (like Nix).
- marcosdumay 9y agoThe point of directories is to provide proper isolation of dependencies. But that followed the same path. What leads to... It's better to add non-root mounting into the author's list. I don't think there's even anything that needs to change, permissions are already there.