diff options
author | Daniel Jacobowitz <dan@debian.org> | 2005-06-15 22:26:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-16 09:02:59 -0700 |
commit | 5db92850d3ab72b830a0fe6e30eaec8462801408 (patch) | |
tree | 1f1b40c7b1873cf24cf98859907912ff514eb056 /fs/quota_v2.c | |
parent | a2ef79e1840ebbd0b5907e53c755efd5662112a1 (diff) | |
download | linux-5db92850d3ab72b830a0fe6e30eaec8462801408.tar.gz linux-5db92850d3ab72b830a0fe6e30eaec8462801408.tar.bz2 linux-5db92850d3ab72b830a0fe6e30eaec8462801408.zip |
[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 <dan@codesourcery.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/quota_v2.c')
0 files changed, 0 insertions, 0 deletions