linux/fs/proc
Dave Anderson ceff1a7709 /proc/kcore: fix seeking
Commit 34aacb2920 ("procfs: Use generic_file_llseek in /proc/kcore") broke
seeking on /proc/kcore.  This changes it back to use default_llseek in
order to restore the original behavior.

The problem with generic_file_llseek is that it only allows seeks up to
inode->i_sb->s_maxbytes, which is 2GB-1 on procfs, where the memory file
offset values in the /proc/kcore PT_LOAD segments may exceed or start
beyond that offset value.

A similar revert was made for /proc/vmcore.

Signed-off-by: Dave Anderson <anderson@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-13 08:03:17 -08:00
..
array.c proc: use seq_puts()/seq_putc() where possible 2011-01-13 08:03:16 -08:00
base.c proc: use single_open() correctly 2011-01-13 08:03:16 -08:00
cmdline.c
consoles.c proc: move proc_console.c to fs/proc/consoles.c 2011-01-13 08:03:17 -08:00
cpuinfo.c
devices.c proc: use seq_puts()/seq_putc() where possible 2011-01-13 08:03:16 -08:00
generic.c proc: less LOCK/UNLOCK in remove_proc_entry() 2011-01-13 08:03:17 -08:00
inode.c proc: ->low_ino cleanup 2011-01-13 08:03:16 -08:00
internal.h proc: ->low_ino cleanup 2011-01-13 08:03:16 -08:00
interrupts.c
Kconfig vmcore: it is not experimental any more 2010-10-26 16:52:05 -07:00
kcore.c /proc/kcore: fix seeking 2011-01-13 08:03:17 -08:00
kmsg.c
loadavg.c
Makefile proc: move proc_console.c to fs/proc/consoles.c 2011-01-13 08:03:17 -08:00
meminfo.c
mmu.c
nommu.c
page.c kpagecount: add slab page checking because _mapcount is in a union 2011-01-13 08:03:17 -08:00
proc_devtree.c
proc_net.c
proc_sysctl.c fs: provide rcu-walk aware permission i_ops 2011-01-07 17:50:29 +11:00
proc_tty.c proc: use seq_puts()/seq_putc() where possible 2011-01-13 08:03:16 -08:00
root.c switch procfs to ->mount() 2010-10-29 04:17:01 -04:00
softirqs.c proc: use seq_puts()/seq_putc() where possible 2011-01-13 08:03:16 -08:00
stat.c proc: use seq_puts()/seq_putc() where possible 2011-01-13 08:03:16 -08:00
task_mmu.c proc: use unsigned long inside /proc/*/statm 2011-01-13 08:03:16 -08:00
task_nommu.c proc: use unsigned long inside /proc/*/statm 2011-01-13 08:03:16 -08:00
uptime.c
version.c
vmcore.c ARM: 6485/5: proc/vmcore - allow archs to override vmcore_elf_check_arch() 2010-11-30 13:39:55 +00:00