The patch titled Get core dump code to work has been added to the -mm tree. Its filename is get-core-dump-code-to-work.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Get core dump code to work From: Petr Vandrovec <petr@xxxxxxxxxxxxxx> File based core dump code was broken by pipe changes - relative llseek returns absolute file position on success, not relative one, so dump_seek() always failed when invoked with non-zero current position. Only success/failure can be tested with relative lseek, we have to trust kernel that on success we've got right file offset. With this fix in place Signed-off-by: Petr Vandrovec <petr@xxxxxxxxxxxxxx> Cc: Daniel Jacobowitz <drow@xxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/binfmt_elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/binfmt_elf.c~get-core-dump-code-to-work fs/binfmt_elf.c --- a/fs/binfmt_elf.c~get-core-dump-code-to-work +++ a/fs/binfmt_elf.c @@ -1152,7 +1152,7 @@ static int dump_write(struct file *file, static int dump_seek(struct file *file, loff_t off) { if (file->f_op->llseek && file->f_op->llseek != no_llseek) { - if (file->f_op->llseek(file, off, 1) != off) + if (file->f_op->llseek(file, off, 1) < 0) return 0; } else { char *buf = (char *)get_zeroed_page(GFP_KERNEL); _ Patches currently in -mm which might be from petr@xxxxxxxxxxxxxx are get-core-dump-code-to-work.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html