summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-01-08 07:56:54 +0100
committerChristoph Hellwig <hch@lst.de>2023-01-10 08:15:57 +0100
commit313c08c72ee7f87c54e34baec5cc4f4005e8800d (patch)
tree6235c0f563f6039d02bf548fee681dc250af776e /tools/perf/scripts/python
parent7b7fdb8e2dbc15ad4e81a328f1c60d1691c6d6be (diff)
downloadlinux-313c08c72ee7f87c54e34baec5cc4f4005e8800d.tar.bz2
nvme: don't allow unprivileged passthrough on partitions
Passthrough commands can always access the entire device, and thus submitting them on partitions is an privelege escalation. In hindsight we should have never allowed any passthrough commands on partitions, but it's probably too late to change that decision now. Fixes: e4fbcf32c860 ("nvme: identify-namespace without CAP_SYS_ADMIN") Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Kanchan Joshi <joshi.k@samsung.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions