From: Daniel Jacobowitz Date: Thu, 16 Jun 2005 05:26:34 +0000 (-0700) Subject: [PATCH] Fix large core dumps with a 32-bit off_t X-Git-Tag: v2.6.12~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5db92850d3ab72b830a0fe6e30eaec8462801408;p=pandora-kernel.git [PATCH] Fix large core dumps with a 32-bit off_t The ELF core dump code has one use of off_t when writing out segments. Some of the segments may be passed the 2GB limit of an off_t, even on a 32-bit system, so it's important to use loff_t instead. This fixes a corrupted core dump in the bigcore test in GDB's testsuite. Signed-off-by: Daniel Jacobowitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed