aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2012-06-15 17:43:25 +0200
committerIngo Molnar <[email protected]>2012-06-16 09:10:42 +0200
commitcc359d180fa9c25a4c1819f17e07a422d788353d (patch)
tree98a70566b1bba99878990b9ac5143b3778bdff0b /tools/perf/scripts/python/check-perf-trace.py
parentea131377148cdfe90641b42ae9aa5a6b3a4fa327 (diff)
uprobes: __copy_insn() should ensure a_ops->readpage != NULL
__copy_insn() blindly calls read_mapping_page(), this will crash the kernel if ->readpage == NULL, add the necessary check. For example, hugetlbfs_aops->readpage is NULL. Perhaps we should change read_mapping_page() instead. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Srikar Dronamraju <[email protected]> Cc: Ananth N Mavinakayanahalli <[email protected]> Cc: Anton Arapov <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions