diff options
author | Ming Lei <[email protected]> | 2023-01-06 12:17:07 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-01-29 15:18:34 -0700 |
commit | 73a166d9749230d598320fdae3b687cdc0e2e205 (patch) | |
tree | bd2e10fc273a8dda12f104f830c94c7857a6d8c2 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | ed878d1c1c641c4a6bd366658fc8e6bc842b80d1 (diff) |
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 <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions