summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorYang Xiuwei <yangxiuwei@kylinos.cn>2026-07-20 14:03:05 +0800
committerKeith Busch <kbusch@kernel.org>2026-07-28 14:07:33 -0700
commitb53d495c7f0db46b6748b5ade48371a10dd5d3bc (patch)
treee435a3a3b0655ff52e6faf6cb2f18c137bec0d49 /tools/perf/scripts/python/bin/stackcollapse-record
parent13330446caef56de008ecb9ad2a1545ce2fedd0a (diff)
nvme/ioctl: check SUBMIT_IO with nvme_cmd_allowed()
Unlike IO_CMD / IO64_CMD, NVME_IOCTL_SUBMIT_IO never calls nvme_cmd_allowed(). Unprivileged callers can thus issue I/O on a partition device or write through a read-only file descriptor. Pass flags and open_for_write through and reject disallowed commands with -EACCES. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions