Anton Berezin <tobez(at)tobez(dot)org> writes:
> On some platforms, it is possible to reliably determine the effective
> credentials of a UNIX-domain peer.
Umm ... I think this is in 7.2 already, although not using getpeereid.
Anyone have an idea whether there are platforms that have getpeereid but
not SO_PEERCRED or SCM_CREDS? If so it might be worth adding getpeereid
as an alternate implementation in ident_unix().
regards, tom lane