[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5464) ucred guarded by __USE_GNU in glibc 2.8



Full_Name: Ralf Haferkamp
Version: Any
OS: Linux (glibc 2.8)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (85.8.71.17)


Newer glibc Version guards the definition of struct ucred (e.g. used in
liblutil/getpeereid.c) by __USE_GNU, hence it is only available when _GNU_SOURCE
is defined.

The matching glibc changelog only say "Cleanup namespace.". Here's the diff:

http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/bits/socket.h.diff?r1=1.60&r2=1.61&cvsroot=glibc