summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJordy Zomer <jordy@jordyzomer.github.io>2022-01-29 15:58:39 +0100
committerMike Snitzer <snitzer@redhat.com>2022-02-22 11:04:41 -0500
commitcd9c88da171a62c4b0f1c70e50c75845969fbc18 (patch)
treee6af6dfa8a8a35becda7882bb15f6439ef7fab36 /tools/perf/scripts/python/export-to-postgresql.py
parenta8b9d116cda047f38ba29ce26df49c57479ffaa2 (diff)
dm ioctl: prevent potential spectre v1 gadget
It appears like cmd could be a Spectre v1 gadget as it's supplied by a user and used as an array index. Prevent the contents of kernel memory from being leaked to userspace via speculative execution by using array_index_nospec. Signed-off-by: Jordy Zomer <jordy@pwning.systems> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions