summaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorahmedsh <ahmedsh@codeaurora.org>2017-01-09 17:24:09 -0500
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-11 11:22:57 -0800
commit9a71e9a686942ae3c491061ab275a3678ee2819a (patch)
tree14e09a8ce8e422ade2d1374d2de1848a25bc5612 /tools/perf/util/trace-event-scripting.c
parent2dc96b1cbbdcf5aef3780696708012d55fec57f2 (diff)
seemp: use local stack mem when encoding params
Avoid race condition in driver when encoding param by reading contents from a local copy instead of msg buffer itself which can be mapped to user space. Change-Id: I405ca6c7fcb0afa112e0851907b5dca805ac5411 Signed-off-by: Ahmed Sheikh <ahmedsh@codeaurora.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions