lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 05 Oct 2021 14:26:34 -0400
From:   "Martin K. Petersen" <>
To:     "Michael S. Tsirkin" <>
Cc:     Xie Yongji <>,,,,,,
        Kevin Wolf <>, Christoph Hellwig <>,
        Jens Axboe <>
Subject: Re: [PATCH v5] virtio-blk: Add validation for block size in config


> Would it be acceptable for blk layer to validate the input instead of
> having each driver do it's own thing?  Maybe inside
> blk_queue_logical_block_size?

I think that would be fine. I believe we had some patches floating
around a few years ago attempting to make that change.

Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists