linux/fs/proc
Frederic Weisbecker 34aacb2920 procfs: Use generic_file_llseek in /proc/kcore
/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.

Let's use generic_file_llseek() instead.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: John Kacur <jkacur@redhat.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
2010-04-09 16:32:02 +02:00
..
array.c fs: use rlimit helpers 2010-03-06 11:26:29 -08:00
base.c procfs: Kill BKL in llseek on proc base 2010-04-09 16:29:12 +02:00
cmdline.c
cpuinfo.c
devices.c
generic.c proc: warn on non-existing proc entries 2010-03-06 11:26:45 -08:00
inode.c proc: rename de_get() to pde_get() and inline it 2009-12-16 07:19:57 -08:00
internal.h proc: rename de_get() to pde_get() and inline it 2009-12-16 07:19:57 -08:00
interrupts.c
Kconfig
kcore.c procfs: Use generic_file_llseek in /proc/kcore 2010-04-09 16:32:02 +02:00
kmsg.c syslog: use defined constants instead of raw numbers 2010-02-04 14:20:41 +11:00
loadavg.c
Makefile
meminfo.c hwpoison: fix/proc/meminfo alignment 2009-10-29 07:39:25 -07:00
mmu.c
nommu.c
page.c mm: export stable page flags 2009-12-16 12:19:59 +01:00
proc_devtree.c proc_devtree: fix THIS_MODULE without module.h 2010-02-14 07:13:41 -07:00
proc_net.c
proc_sysctl.c sysctl: Don't look at ctl_name and strategy in the generic code 2009-11-11 00:53:43 -08:00
proc_tty.c
root.c some clean up in fs/proc 2010-03-03 13:00:18 -05:00
softirqs.c
stat.c sched, cpuacct: Fix niced guest time accounting 2009-10-25 17:31:30 +01:00
task_mmu.c mm: count swap usage 2010-03-06 11:26:24 -08:00
task_nommu.c procfs: use proper units for noMMU statm 2009-12-15 08:53:24 -08:00
uptime.c
version.c
vmcore.c