Re: [RFC, PATCH 3/4] elf_core_dump(): make offset calculation and writing processes explicit

From: Andi Kleen
Date: Tue Dec 15 2009 - 09:07:38 EST


Daisuke HATAYAMA <d.hatayama@xxxxxxxxxxxxxx> writes:
>
> However, the clause 1. is not always possible, since one
> cannot assume that dump_seek() function always supports
> the seek in the minus direction. Consider no_llseek.

Not even forward seek is always supported, consider core dumping
to a pipe.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/