Re: [PATCH v10 3/9] firmware: add request_partial_firmware_into_buf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2020-07-07 4:58 p.m., Kees Cook wrote:
On Mon, Jul 06, 2020 at 04:23:03PM -0700, Scott Branden wrote:
Add request_partial_firmware_into_buf to allow for portions
of firmware file to be read into a buffer.  Necessary where firmware
needs to be loaded in portions from file in memory constrained systems.
Just tear out the differing "id" and just use FW_OPT_PARTIAL and I think
if Luis is happy, you're all set.

I hope so.  Also, I will need to call kernel_pread_file_from_path_initns() if FW_OPT_PARTIAL is set and kernel_read_file_from_path_initns() otherwise to avoid a swiss army-knife approach of calling a common function with multiple parameters.





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux