aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorNiklas Cassel <[email protected]>2021-03-26 19:48:00 +0000
committerChristoph Hellwig <[email protected]>2021-04-06 08:34:38 +0200
commitc881a23fb6f7eb901155d25ba8dd1af0b8c7923b (patch)
tree028709e097c6971a29b39540ba21e1cf1b0ce775 /tools/perf/scripts/python/powerpc-hcalls.py
parentdd8f7fa908f66dd44abcd83cbb50410524b9f8ef (diff)
nvme: disallow passthru cmd from targeting a nsid != nsid of the block dev
When a passthru command targets a specific namespace, the ns parameter to nvme_user_cmd()/nvme_user_cmd64() is set. However, there is currently no validation that the nsid specified in the passthru command targets the namespace/nsid represented by the block device that the ioctl was performed on. Add a check that validates that the nsid in the passthru command matches that of the supplied namespace. Signed-off-by: Niklas Cassel <[email protected]> Reviewed-by: Javier González <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Kanchan Joshi <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions