summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2023-01-31 07:04:46 +0300
committerJens Axboe <axboe@kernel.dk>2023-01-31 17:59:22 +0300
commit48a9051980242128f844defe44c7e83217f79872 (patch)
treef8c38cac24798390af10c93311c8102d4e9fc2c4 /tools/perf/scripts/python/export-to-sqlite.py
parent4a6a7bc21d4726c5772e47525e6039852555b391 (diff)
downloadlinux-48a9051980242128f844defe44c7e83217f79872.tar.xz
ublk_drv: only allow owner to open unprivileged disk
Owner of one unprivileged ublk device could be one evil user, which can grant this disk's privilege to other users deliberately, and this way could be like making one trap and waiting for other users to be caught. So only owner to open unprivileged disk even though the owner grants disk privilege to other user. This way is reasonable too given anyone can create ublk disk, and no need other's grant. Reported-by: Stefan Hajnoczi <stefanha@redhat.com> Fixes: 4093cb5a0634 ("ublk_drv: add mechanism for supporting unprivileged ublk device") Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20230131040446.214583-1-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions