Re: [PATCH v4 08/17] fs/kernel_read_file: Add file_size output argument

2020-07-29 Thread James Morris
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 > Reviewed-by: Mimi Zohar > R

[PATCH v4 08/17] fs/kernel_read_file: Add file_size output argument

2020-07-29 Thread Kees Cook
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 Reviewed-by: Mimi Zohar Reviewed-by: Luis Chamberlain Signed-off-by: Kees Coo