summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2023-01-06 07:17:07 +0300
committerJens Axboe <axboe@kernel.dk>2023-01-30 01:18:34 +0300
commit73a166d9749230d598320fdae3b687cdc0e2e205 (patch)
treebd2e10fc273a8dda12f104f830c94c7857a6d8c2 /tools/perf/scripts/python
parented878d1c1c641c4a6bd366658fc8e6bc842b80d1 (diff)
downloadlinux-73a166d9749230d598320fdae3b687cdc0e2e205.tar.xz
ublk_drv: don't probe partitions if the ubq daemon isn't trusted
If any ubq daemon is unprivileged, the ublk char device is allowed for unprivileged user actually, and we can't trust the current user, so not probe partitions. Fixes: 71f28f3136af ("ublk_drv: add io_uring based userspace block driver") Reviewed-by: ZiyangZhang <ZiyangZhang@linux.alibaba.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20230106041711.914434-3-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions