public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libc/13144] New: Incorrect x86-64 bits/sem.h @ 2011-08-31 21:05 hjl.tools at gmail dot com 2011-08-31 22:21 ` [Bug libc/13144] " ppluzhnikov at google dot com ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: hjl.tools at gmail dot com @ 2011-08-31 21:05 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13144 Bug #: 13144 Summary: Incorrect x86-64 bits/sem.h Product: glibc Version: 2.14 Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper.fsp@gmail.com ReportedBy: hjl.tools@gmail.com Classification: Unclassified sysdeps/unix/sysv/linux/x86_64/bits/sem.h has /* Data structure describing a set of semaphores. */ struct semid_ds { struct ipc_perm sem_perm; /* operation permission struct */ __time_t sem_otime; /* last semop() time */ unsigned long int __unused1; __time_t sem_ctime; /* last time changed by semctl() */ unsigned long int __unused2; unsigned long int sem_nsems; /* number of semaphores in set */ unsigned long int __unused3; unsigned long int __unused4; }; But kernel include/asm-generic/sembuf.h has struct semid64_ds { struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ __kernel_time_t sem_otime; /* last semop time */ #if __BITS_PER_LONG != 64 unsigned long __unused1; #endif __kernel_time_t sem_ctime; /* last change time */ #if __BITS_PER_LONG != 64 unsigned long __unused2; #endif unsigned long sem_nsems; /* no. of semaphores in array */ unsigned long __unused3; unsigned long __unused4; }; unused1 and unused2 fields should be protected with #if __WORDSIZE == 32 #endif -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/13144] Incorrect x86-64 bits/sem.h 2011-08-31 21:05 [Bug libc/13144] New: Incorrect x86-64 bits/sem.h hjl.tools at gmail dot com @ 2011-08-31 22:21 ` ppluzhnikov at google dot com 2011-09-05 16:45 ` drepper.fsp at gmail dot com ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: ppluzhnikov at google dot com @ 2011-08-31 22:21 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13144 Paul Pluzhnikov <ppluzhnikov at google dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppluzhnikov at google dot | |com -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/13144] Incorrect x86-64 bits/sem.h 2011-08-31 21:05 [Bug libc/13144] New: Incorrect x86-64 bits/sem.h hjl.tools at gmail dot com 2011-08-31 22:21 ` [Bug libc/13144] " ppluzhnikov at google dot com @ 2011-09-05 16:45 ` drepper.fsp at gmail dot com 2011-09-07 12:41 ` schwab@linux-m68k.org 2014-06-27 12:12 ` fweimer at redhat dot com 3 siblings, 0 replies; 5+ messages in thread From: drepper.fsp at gmail dot com @ 2011-09-05 16:45 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13144 Ulrich Drepper <drepper.fsp at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-09-05 16:45:02 UTC --- Changed in git. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/13144] Incorrect x86-64 bits/sem.h 2011-08-31 21:05 [Bug libc/13144] New: Incorrect x86-64 bits/sem.h hjl.tools at gmail dot com 2011-08-31 22:21 ` [Bug libc/13144] " ppluzhnikov at google dot com 2011-09-05 16:45 ` drepper.fsp at gmail dot com @ 2011-09-07 12:41 ` schwab@linux-m68k.org 2014-06-27 12:12 ` fweimer at redhat dot com 3 siblings, 0 replies; 5+ messages in thread From: schwab@linux-m68k.org @ 2011-09-07 12:41 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13144 Andreas Schwab <schwab@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|FIXED |INVALID --- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> 2011-09-07 12:40:26 UTC --- x86_64 does not use the asm-generic version of semid64_ds. The correct definition is in arch/x86/include/asm/sembuf.h. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/13144] Incorrect x86-64 bits/sem.h 2011-08-31 21:05 [Bug libc/13144] New: Incorrect x86-64 bits/sem.h hjl.tools at gmail dot com ` (2 preceding siblings ...) 2011-09-07 12:41 ` schwab@linux-m68k.org @ 2014-06-27 12:12 ` fweimer at redhat dot com 3 siblings, 0 replies; 5+ messages in thread From: fweimer at redhat dot com @ 2014-06-27 12:12 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=13144 Florian Weimer <fweimer at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-27 12:12 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-08-31 21:05 [Bug libc/13144] New: Incorrect x86-64 bits/sem.h hjl.tools at gmail dot com 2011-08-31 22:21 ` [Bug libc/13144] " ppluzhnikov at google dot com 2011-09-05 16:45 ` drepper.fsp at gmail dot com 2011-09-07 12:41 ` schwab@linux-m68k.org 2014-06-27 12:12 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).