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
..
2011-01-11 09:58:08 -06:00
2011-01-07 17:50:28 +11:00
2011-01-07 17:50:31 +11:00
2011-01-07 17:50:29 +11:00
2011-01-07 17:50:29 +11:00
2011-01-13 08:03:15 -08:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:30 +11:00
2011-01-07 17:50:29 +11:00
2011-01-09 23:43:00 +00:00
2011-01-07 17:50:29 +11:00
2011-01-07 17:50:28 +11:00
2010-12-13 13:42:24 -06:00
2011-01-07 17:50:29 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:31 +11:00
2011-01-11 14:37:31 -08:00
2011-01-11 14:37:31 -08:00
2011-01-13 08:03:05 -08:00
2011-01-07 17:50:29 +11:00
2011-01-07 17:50:26 +11:00
2011-01-10 07:43:54 -08:00
2011-01-10 08:51:44 -08:00
2011-01-07 17:50:29 +11:00
2011-01-07 17:16:27 -08:00
2011-01-07 17:50:29 +11:00
2011-01-07 17:50:29 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:28 +11:00
2011-01-10 12:29:43 -05:00
2011-01-07 17:50:29 +11:00
2011-01-07 17:50:29 +11:00
2011-01-04 13:10:37 -05:00
2011-01-07 17:50:29 +11:00
2011-01-07 17:50:28 +11:00
2011-01-07 16:58:04 -08:00
2011-01-11 15:11:56 -08:00
2011-01-11 15:11:56 -08:00
2011-01-10 08:51:44 -08:00
2011-01-07 17:50:31 +11:00
2011-01-12 08:35:53 -08:00
2011-01-11 11:28:34 -08:00
2011-01-07 17:50:26 +11:00
2011-01-13 08:03:17 -08:00
2011-01-07 17:50:26 +11:00
2011-01-10 19:04:05 +01:00
2011-01-13 08:03:15 -08:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2011-01-10 16:10:33 -08:00
2011-01-07 17:50:28 +11:00
2011-01-07 17:50:26 +11:00
2011-01-11 14:45:52 -08:00
2011-01-07 17:50:26 +11:00
2011-01-10 21:35:55 -06:00
2011-01-07 17:50:33 +11:00
2011-01-07 17:50:29 +11:00
2011-01-13 08:03:12 -08:00
2011-01-07 17:50:26 +11:00
2010-12-17 15:18:05 +01:00
2011-01-07 14:39:20 -08:00
2011-01-07 17:50:32 +11:00
2011-01-13 08:03:12 -08:00
2010-12-15 12:30:36 -08:00
2011-01-07 17:50:27 +11:00
2011-01-07 17:50:33 +11:00
2011-01-07 17:50:29 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:33 +11:00
2011-01-07 17:50:28 +11:00
2011-01-07 17:50:21 +11:00
2011-01-10 19:04:08 +01:00
2011-01-10 07:38:53 -08:00
2011-01-07 17:50:33 +11:00
2011-01-13 08:03:15 -08:00
2011-01-07 17:50:33 +11:00
2011-01-13 08:03:12 -08:00
2011-01-07 17:50:33 +11:00