Hacker News new | ask | show | jobs
by debatem1 2515 days ago
But unix domain sockets are not pipes, not least in the important way that you can reliably determine the identity of the other end. That can in some cases be an infoleak, and therefore needs independent access control.
1 comments

If SCM_CRED passing were a real problem in _any_ scenario, SELinux should target that instead, not an entire subsystem on which half the system is built
The point is you need the ability to express both "these are the same thing" and "these are different". You can do both with SELinux. What's your alternative?