[PATCH] common/pread_write.c: backport fix for 64-bit handling of pread/pwrite

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue May 26 20:28:08 UTC 2015


On Sat, May 09, 2015 at 12:43:05PM -0400, Anthony G. Basile wrote:
> From: "Anthony G. Basile" <blueness at gentoo.org>
> 
> Commit 458076d fixed the pread/pwrite syscalls for 64-bit ports on the
> master branch, but the fix was not backported to the 0.9.33 branch.  This
> patch backports the fix which is critical for e2fsprogs-1.42.12 and above.
> The introduction of pread64()/pwrite64() in e2fsprogs' commit f00948a
> broke fsck.ext3 and fsck.ext4 on uclibc-0.9.33, leading to potential
> data corrupton. See
> 
> https://bugs.gentoo.org/show_bug.cgi?id=548950
> 
> http://git.kernel.org/cgit/fs/ext2/e2fsprogs.git/commit/?id=f00948ad1df100c7d616ef6fbf7609329a2e4001
> 

Applied, thanks!


More information about the uClibc mailing list