[PATCH v10 4/9] test_firmware: add partial read support for request_firmware_into_buf

Kees Cook keescook at chromium.org
Tue Jul 7 23:59:39 UTC 2020


On Mon, Jul 06, 2020 at 04:23:04PM -0700, Scott Branden wrote:
> Add additional hooks to test_firmware to pass in support
> for partial file read using request_firmware_into_buf.
> buf_size: size of buffer to request firmware into
> partial: indicates that a partial file request is being made
> file_offset: to indicate offset into file to request
> 
> Signed-off-by: Scott Branden <scott.branden at broadcom.com>

I am a fan of tests. :) If Luis gives an Ack here, you're good.

-- 
Kees Cook



More information about the Linux-security-module-archive mailing list