[PATCH v4 08/17] fs/kernel_read_file: Add file_size output argument
James Morris
jmorris at namei.org
Thu Jul 30 02:26:16 UTC 2020
On Wed, 29 Jul 2020, Kees Cook wrote:
> In preparation for adding partial read support, add an optional output
> argument to kernel_read_file*() that reports the file size so callers
> can reason more easily about their reading progress.
>
> Acked-by: Scott Branden <scott.branden at broadcom.com>
> Reviewed-by: Mimi Zohar <zohar at linux.ibm.com>
> Reviewed-by: Luis Chamberlain <mcgrof at kernel.org>
> Signed-off-by: Kees Cook <keescook at chromium.org>
Reviewed-by: James Morris <jamorris at linux.microsoft.com>
--
James Morris
<jmorris at namei.org>
More information about the Linux-security-module-archive
mailing list