mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-03-14 01:54:44 +01:00

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>
libbsd - Utility functions from BSD systems This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project. Releases -------- <http://libbsd.freedesktop.org/releases/> Mailing List ------------ The subscription interface and web archives can be found at: <http://lists.freedesktop.org/mailman/listinfo/libbsd> The mail address is: libbsd@lists.freedesktop.org Source Repository ----------------- <http://cgit.freedesktop.org/libbsd> <git://anongit.freedesktop.org/git/libbsd>
Languages
C
88.3%
C++
5.2%
M4
4.1%
Makefile
1.9%
Shell
0.5%