summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-01-10 16:54:52 +0100
committerDavide Garberi <dade.garberi@gmail.com>2022-07-27 18:58:40 +0200
commit17d411ef9b3e02b37192c7ca2efb0026c5d5b0ad (patch)
tree4a23a9d6b15a6f8333e8416dfc80aa1195d30cd5 /tools/perf/scripts/python
parent4dc144ae26e8c6878739dc81186ecd05cbc3896c (diff)
UPSTREAM: block: silently forbid sending any ioctl to a partition
cherry picked from: commit 0478fe68685a ("block: silently forbid sending any ioctl to a partition") After the first few months, the message has not led to many bug reports. It's been almost five years now, and in practice the main source of it seems to be MTIOCGET that someone is using to detect tape devices. While we could whitelist it just like CDROM_GET_CAPABILITY, this patch just removes the message altogether. The patch also removes the "safe but not very useful" ioctl whitelist, as suggested by Christoph. I doubt anything is using most of those ioctls _in general_, let alone on a partition. Bug: 73949641 Change-Id: Ib95bdfd3a8d4ee56fc4f4af64ea944ded2801768 Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions