aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2014-04-09 09:42:58 +0200
committerMartin Schwidefsky <[email protected]>2014-04-11 13:53:33 +0200
commitfa255f51c95fd91b4d7bb50a0fdcca18dd47db21 (patch)
treed7fa3a8ca5b9663078f9847411d3a7a2a9c95d7a /tools/perf/util/scripting-engines/trace-event-perl.c
parenta960062e5826b88e75c3999db6e5997092da519b (diff)
s390/uaccess: fix possible register corruption in strnlen_user_srst()
The whole point of the out-of-line strnlen_user_srst() function was to avoid corruption of register 0 due to register asm assignment. However 'somebody' :) forgot to remove the update_primary_asce() function call, which may clobber register 0 contents. So let's remove that call and also move the size check to the calling function. Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions