On Fri, 2 Oct 2020, Kees Cook wrote: > These routines are used in places outside of exec(2), so in preparation > for refactoring them, move them into a separate source file, > fs/kernel_read_file.c. > > Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx> > Reviewed-by: Mimi Zohar <zohar@xxxxxxxxxxxxx> > Reviewed-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> > Acked-by: Scott Branden <scott.branden@xxxxxxxxxxxx> Reviewed-by: James Morris <jamorris@xxxxxxxxxxxxxxxxxxx> -- James Morris <jmorris@xxxxxxxxx>