aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2012-10-22 15:49:02 +0200
committerMartin Schwidefsky <[email protected]>2012-11-13 11:02:26 +0100
commitd55c4c613fc4d4ad2ba0fc6fa2b57176d420f7e4 (patch)
tree4e28b1a01016e285876876a1c6eb7ba8127f9072 /tools/perf/util/scripting-engines/trace-event-python.c
parent658e5ce705f2a09ab681eb61ca7c8619bb7a783d (diff)
s390/gup: add missing TASK_SIZE check to get_user_pages_fast()
When walking page tables we need to make sure that everything is within bounds of the ASCE limit of the task's address space. Otherwise we might calculate e.g. a pud pointer which is not within a pud and dereference it. So check against TASK_SIZE (which is the ASCE limit) before walking page tables. Reviewed-by: Gerald Schaefer <[email protected]> Cc: [email protected] Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions