Re: portable getpeercred()

2011-06-20 Thread Arthur de Jong
On Tue, 2011-06-07 at 19:27 +0200, Robert Millan wrote: > 2011/6/7 Guillem Jover : > >> > Actually, it'd be great if someone made a library out of it. > > > > We already have it in libbsd as of 0.3.0: > > > > > > Very nice! > > Sounds li

Re: portable getpeercred()

2011-06-07 Thread Robert Millan
2011/6/7 Guillem Jover : >> > Actually, it'd be great if someone made a library out of it. > > We already have it in libbsd as of 0.3.0: > >   Very nice! Sounds like the best solution for #610716 would be to use libbsd then. CCing Arthur

Re: portable getpeercred()

2011-06-07 Thread Guillem Jover
Hi! On Tue, 2011-06-07 at 17:03:46 +0200, Robert Millan wrote: > 2011/6/7 Robert Millan : > > 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 baggag

Re: portable getpeercred()

2011-06-07 Thread Robert Millan
tags 610716 - patch thanks Btw, as of 0.2.2 this patch is no longer enough: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../tirpc -DPORTMAP -DINET6 -DVERSION=\"0.2.2\" -D_GNU_SOURCE -Wall -pipe -DHAVE_RPCSEC_GSS -I/usr/include/gssglue -g -Wall -O2 -MT libtirpc_la-auth_none.lo -MD -MP -MF .de