Once upon a time, Sam Varshavchik <mrsam(a)courier-mta.com> said:
A means for authenticating a filesystem domain socket's peer.
Receive the
peer's credentials, then check /proc/pid/exe and /proc/self/exe. If they're
same, the daemon is talking to another instance of itself.
Is there anything that actually does that and depends on the result?
Such a check would be inherently racey.
--
Chris Adams <cmadams(a)hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.