Re: [PATCH 2/6] procfs: Use generic_file_llseek in /proc/kcore

From: Arnd Bergmann
Date: Tue Mar 30 2010 - 06:28:18 EST


On Tuesday 30 March 2010, Frederic Weisbecker wrote:
> /proc/kcore has no llseek and then falls down to use default_llseek.
> This is racy against read_kcore() that directly manipulates fpos
> but it doesn't hold the bkl there so using it in llseek doesn't
> protect anything.

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
--
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/