diff options
| author | Ming Lei <[email protected]> | 2023-01-06 12:17:10 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-01-29 15:18:34 -0700 |
| commit | 403ebc877832752da9fc851284fa00ceca7b2fae (patch) | |
| tree | 43b0d642c59f1b0f695d027812c181fe3b26109e /include/linux/debugobjects.h | |
| parent | abb864d380854b5427b6b070beb2ebc291ce4d1e (diff) | |
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 <[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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions