#TIL Check SO_PEERCRED of a Unix domain socket to find out the client's identity. No need to do hacky challenge-response via the filesystem.