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

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

rhafer@suse.de wrote:
> Full_Name: Ralf Haferkamp
> Version: Any
> OS: Linux (glibc 2.8)
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> 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

This is a bug in glibc. Luca Scamoni reported it upstream here

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/