]> git.karo-electronics.de Git - karo-tx-linux.git/commit
proc: fix /proc/*/pagemap some more
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 22 Jul 2008 20:05:19 +0000 (20:05 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Aug 2008 19:43:04 +0000 (12:43 -0700)
commit81952a2391da91d8ff35c96b31f051f5242dfc1b
tree16fd7c4f56f2de2f8569f9a4e6f6c87f86c0c9aa
parent12b47b11e2cc0fae5ff87d63e455a76d0844fa55
proc: fix /proc/*/pagemap some more

commit ee1e6ab6056a8b9c19377257002da98b83819531 upstream

struct pagemap_walk was placed on stack, some hooks are initialized, the
rest (->pgd_entry, ->pud_entry, ->pte_entry) are valid but junk.

Reported-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: "Vegard Nossum" <vegard.nossum@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/proc/task_mmu.c