Anton Berezin <tobez(at)tobez(dot)org> writes:
>> Anyone have an idea whether there are platforms that have getpeereid but
>> not SO_PEERCRED or SCM_CREDS?
> Yes. From FreeBSD's getpeereid(2) manpage:
FreeBSD is known to be covered by the SCM_CREDS code we have now,
I believe. Would you pull down 7.2beta3 and see if it works for you?
regards, tom lane