src/getpeereid.c


Log

Author Commit Date CI Message
Casper Dik a4812cdf 2013-03-15T01:13:58 Fix getpeereid() compilation on Solaris The code in getpeereid() is unlikely to compile as ucred_t is an opaque struct (ucred_t * works but ucred_t does not). Either you need to give a pointer initialized to NULL and getpeerucred() allocates a new ucred or you call it with an allocated ucred as in this patch. Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover e7f39760 2012-03-23T10:31:42 Add email address to my name
Guillem Jover 5b19adfa 2010-12-17T10:50:56 Add getpeereid function