diff options
author | 2019-08-06 07:37:59 +0000 | |
---|---|---|
committer | 2019-09-05 14:55:27 +0300 | |
commit | 9b50f539fff10a8283ac9c80e4ec344870b575b5 (patch) | |
tree | 83bf37f8e3569bbb6b156e995125ded72e1b0fb7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | habanalabs: use default structure for user input in Debug IOCTL (diff) | |
download | linux-rng-9b50f539fff10a8283ac9c80e4ec344870b575b5.tar.xz linux-rng-9b50f539fff10a8283ac9c80e4ec344870b575b5.zip |
habanalabs: improve security in Debug IOCTL
This patch improves the security in the Debug IOCTL.
It adds checks that:
- The register index value is in the allowed range for all opcodes.
- The event types number is in the allowed range in SPMU enable.
- The events number is in the allowed range in SPMU disable.
Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions