I found a RHEL4-x86_64 system to try this one and my
memory was (mostly) correct. The change to __SID in
LiS/include/sys/gnu.stropts.h and LiS/include/sys/stropts.h
in the patches I sent 03 Feb 2006 08:25:05 does fix
this issue. The part I forgot was that you should have
the stropts.h '#define STR' match that of the __SID values.
To be specific, these are the changes:
"include/sys/stropts.h"
#define __SID (0xdc<<8) /* for GNU libc
#define STR (0xdc<<8) /* for UnixWare
"include/sys/gnu.stropts.h"
#define __SID (0xdc<< 8)
I don't recall how we selected the 0xdc base offset value,
but it has proven to work for rhel3,rhel4,sles8,sles8 on
i686,s390,s390x,ppc64,x86_64.
This change means you to have to recompile any of your LiS
dependent code, but since x86_64 is new for you that should
not be a big problem. If you need to maintain binary
compatibility with old modules on old platforms you can
#ifdef the '#define _SID' and '#define STR' to use different
values for different platforms.
Paul Landay
_______________________________________________
Linux-streams mailing list
[email protected]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams