3 ms·
> what's wrong with the classical UNIX sockets Well, for starters they're a bolt-on that doesn't fit with the actual classic Unix philosophy.
by rodgerd 10y ago
> what's wrong with the classical UNIX sockets
Well, for starters they're a bolt-on that doesn't fit with the actual classic Unix philosophy.
- cyphar 10y agoYou couldn't send credentials nor file descriptors to other processes without UNIX sockets. I would argue that allowing for that kind of decoupling of permissions and file access is very much in the spirit of the UNIX philosophy. Quite frankly, there are some problems you simply wouldn't be able to solve without them (in runC, the underlying runtime that Docker wraps, we use them quite extensively).
- gens 10y agoYou can send fd's through UDS and they do expose a lot of info on the process on the other side. http://www.thomasstover.com/uds.html http://www.thomasstover.com/uds.html