Re: portable getpeercred()
On Tue, 2011-06-07 at 17:03:46 +0200, Robert Millan wrote:
> 2011/6/7 Robert Millan <email@example.com>:
> > I think a better solution would be to reuse code from:
> > http://arthurdejong.org/viewvc/nss-pam-ldapd/nss-pam-ldapd/compat/getpeercred.c?view=markup
> > which brings in useful portability baggage.
> > Actually, it'd be great if someone made a library out of it.
We already have it in libbsd as of 0.3.0:
I'd recommend people doing porting to take a look at the latest
additions to libbsd, or request new ones if they need them, as hinted
in my last mail to the list about libbsd. :)