This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6724] New: Format incompatiblity between 31/64 bit utmp
- From: "krebbel1 at de dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 7 Jul 2008 12:13:43 -0000
- Subject: [Bug libc/6724] New: Format incompatiblity between 31/64 bit utmp
- Reply-to: sourceware-bugzilla at sourceware dot org
The utmp structure contains long type fields what makes it
incompatible between 32 and 64 bit systems. For biarch architectures
like x86 and ppc therefore a compat macro (__WORDSIZE_COMPAT32)
assures that always the 32 bit variant is used. This avoids problems
when co-existing 32 and 64 programs access utmp/wtmp using the libc
interface.
Quite some time ago Martin tried to define this macro also for
s390/s390x:
http://sources.redhat.com/ml/libc-hacker/2002-10/msg00040.html
Unfortunately that patch never made it into glibc. Fixing it
afterwards is a bit more difficult since there already is a lot of
64bit code passing a 64bit struct utmp to glibc functions.
--
Summary: Format incompatiblity between 31/64 bit utmp
Product: glibc
Version: 2.4
Status: NEW
Severity: critical
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: krebbel1 at de dot ibm dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: s390x-ibm-linux
GCC host triplet: s390x-ibm-linux
GCC target triplet: s390x-ibm-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=6724
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.