Index: xc/ChangeLog =================================================================== RCS file: /cvs/xorg/xc/ChangeLog,v retrieving revision 1.367 diff -u -2 -0 -r1.367 ChangeLog --- xc/ChangeLog 14 Sep 2004 23:21:21 -0000 1.367 +++ xc/ChangeLog 15 Sep 2004 00:04:30 -0000 @@ -1,21 +1,27 @@ 2004-09-14 Roland Mainz + * xc/config/cf/linux.cf + Bugzilla #1381: Enable SecureRPC code (used for goodies such as + the SUN-DES-1 user2user authentification scheme) on Linux if + glibc version is >= 6.3.2. + +2004-09-14 Roland Mainz * xc/programs/Xserver/hw/xfree86/loader/dixsym.c * xc/programs/Xserver/hw/xfree86/loader/extsym.c Bugzilla #1361: Fix module loader bustage due duplicate symbols caused by the first patch in Bugzilla #1361 2004-09-14 Roland Mainz * xc/programs/Xserver/hw/xfree86/loader/dixsym.c * xc/programs/Xserver/include/globals.h * xc/programs/Xserver/mi/miinitext.c * xc/programs/Xserver/os/utils.c Bugzilla #1361: Allow turning on/off most of the Xserver extensions (=all except server-specific extensions (e.g. DMX, XpExtension, etc.) via +extension/-extension 2004-09-07 Kevin E. Martin * BUILD: * programs/Xserver/hw/xfree86/doc/BUILD: * programs/Xserver/hw/xfree86/doc/sgml/BUILD.sgml: * programs/Xserver/hw/xfree86/doc/sgml/index.pre: Index: xc/config/cf/linux.cf =================================================================== RCS file: /cvs/xorg/xc/config/cf/linux.cf,v retrieving revision 1.13 diff -u -2 -0 -r1.13 linux.cf --- xc/config/cf/linux.cf 11 Aug 2004 21:14:01 -0000 1.13 +++ xc/config/cf/linux.cf 15 Sep 2004 00:04:30 -0000 @@ -450,40 +450,50 @@ #define GccUsesGas YES #define UseGas YES #define GnuCpp YES #if UseElfFormat # ifndef HasDlopen # define HasDlopen YES # endif #endif #define HasWeakSymbols UseElfFormat #ifndef HasShadowPasswd # if UseElfFormat # define HasShadowPasswd YES # else # define HasShadowPasswd NO # endif #endif #define HasPutenv YES #ifndef HasShm # define HasShm YES #endif + +/* Use SecureRPC (used for SUN-DES-1 auth. and other goodies) when + * glibc has support for it */ +#ifndef HasSecureRPC +# if !(LinuxCLibMajorVersion < 6 || \ + (LinuxCLibMajorVersion == 6 && LinuxCLibMinorVersion < 3)) +# define HasSecureRPC YES +# endif +#endif + #define HasSockets YES #if UseElfFormat || defined(AlphaArchitecture) #ifndef HasSnprintf #define HasSnprintf YES #endif #define HasMkstemp YES #endif /* getresuid() appeared in 2.1.4, and getresgid in 2.1.44 */ #if !defined(HasGetresuid) && \ (((OSMajorVersion*100000) + (OSMinorVersion*1000) + OSTeenyVersion) >= 201044) #define HasGetresuid YES #endif #if OSMajorVersion >= 2 #define HasUsableFileMmap YES #endif #ifndef HasNCurses #define HasNCurses YES #endif #ifndef HasGroff