aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2009-10-26 11:11:43 +0100
committerIngo Molnar <[email protected]>2009-10-26 12:38:59 +0100
commit72ed7de74e8f0fad0d8e567ae1f987b740accb3f (patch)
treedd8e7dbd4b6305bcca35fc2cfe29479918e034d2 /tools/perf/scripts/python/syscall-counts.py
parentae1b22f6e46c03cede7cea234d0bf2253b4261cf (diff)
x86: crash_dump: Fix non-pae kdump kernel memory accesses
Non-PAE 32-bit dump kernels may wrap an address around 4G and poke unwanted space. ptes there are 32-bit long, and since pfn << PAGE_SIZE may exceed this limit, high pfn bits are cropped and wrong address mapped by kmap_atomic_pfn in copy_oldmem_page. Don't allow this behavior in non-PAE kdump kernels by checking pfns passed into copy_oldmem_page. In the case of failure, userspace process gets EFAULT. [v2] - fix comments - move ifdefs inside the function Signed-off-by: Jiri Slaby <[email protected]> Cc: Vivek Goyal <[email protected]> Cc: Eric W. Biederman <[email protected]> Cc: Simon Horman <[email protected]> Cc: Paul Mundt <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions