On Wed, 29 Jul 2020, Kees Cook wrote:

> In preparation for refactoring kernel_read_file*(), remove the redundant
> "size" argument which is not needed: it can be included in the return
> code, with callers adjusted. (VFS reads already cannot be larger than
> INT_MAX.)
> 
> Acked-by: Scott Branden <scott.bran...@broadcom.com>
> Reviewed-by: Mimi Zohar <zo...@linux.ibm.com>
> Reviewed-by: Luis Chamberlain <mcg...@kernel.org>
> Signed-off-by: Kees Cook <keesc...@chromium.org>

Reviewed-by: James Morris <jamor...@linux.microsoft.com>

-- 
James Morris
<jmor...@namei.org>

Reply via email to