aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNoa Osherovich <[email protected]>2016-06-04 15:15:31 +0300
committerDoug Ledford <[email protected]>2016-06-07 10:03:49 -0400
commitbc5c6eed0510f19b033ce7a7d3976e695e96785b (patch)
treec6a46c036b9f4d0bc93c4383da96864b20e01728 /tools/perf/util/trace-event-scripting.c
parentc0fcebf55289c48148992eee002a7caf853a5358 (diff)
IB/mlx5: Limit query HCA clock
When PAGE_SIZE is larger than 4K, the user shouldn't be able to query the HCA core clock. This counter is within 4KB boundary and the user-space shall not read information that's after this boundary. Fixes: b368d7cb8ceb7 ('IB/mlx5: Add hca_core_clock_offset to...') Signed-off-by: Majd Dibbiny <[email protected]> Signed-off-by: Noa Osherovich <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions