[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#555405: libc6-dev: preadv()/pwritev() prototypes are broken on i386 with -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64



Package: libc6-dev
Version: 2.10.1-5
Severity: important

Any glibc since introduction of preadv/pwritev can corrupt data on 32bit
systems when a program is compiled with -D_FILE_OFFSET_BITS=64.  This is most
important for qemu/kvm for which this system call was introduces, leading to
massive data corruption.  See the Fedora bug report at

	https://bugzilla.redhat.com/show_bug.cgi?id=533063

for some more details and the libc-hacker posting at

	http://sources.redhat.com/ml/libc-hacker/2009-11/msg00001.html

for a patch to fix it.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-rc7 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6-dev depends on:
ii  libc-dev-bin                  2.10.1-5   GNU C Library: Development binarie
ii  libc6                         2.10.1-5   GNU C Library: Shared libraries
ii  linux-libc-dev                2.6.30-8   Linux support headers for userspac

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler]          4:4.3.3-9+nmu1 The GNU C compiler
ii  gcc-4.3 [c-compiler]      4.3.4-5        The GNU C compiler

Versions of packages libc6-dev suggests:
pn  glibc-doc                     <none>     (no description available)
ii  manpages-dev                  3.22-1     Manual pages about using GNU/Linux

-- no debconf information



Reply to: