diff options
author | Ming Lei <ming.lei@redhat.com> | 2023-01-06 05:17:10 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-29 23:18:34 +0100 |
commit | 403ebc877832752da9fc851284fa00ceca7b2fae (patch) | |
tree | 43b0d642c59f1b0f695d027812c181fe3b26109e /Documentation/mm/bootmem.rst | |
parent | ublk_drv: add device parameter UBLK_PARAM_TYPE_DEVT (diff) | |
download | linux-403ebc877832752da9fc851284fa00ceca7b2fae.tar.xz linux-403ebc877832752da9fc851284fa00ceca7b2fae.zip |
ublk_drv: add module parameter of ublks_max for limiting max allowed ublk dev
Prepare for supporting unprivileged ublk device by limiting max number
ublk devices added. Otherwise too many ublk devices could be added by
un-trusted user, which can be thought as one DoS.
Reviewed-by: ZiyangZhang <ZiyangZhang@linux.alibaba.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20230106041711.914434-6-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/mm/bootmem.rst')
0 files changed, 0 insertions, 0 deletions