[PATCH v3 06/19] fs/kernel_read_file: Split into separate include file

Mimi Zohar zohar at kernel.org
Mon Jul 27 14:41:50 UTC 2020


On Fri, 2020-07-24 at 14:36 -0700, Kees Cook wrote:
> From: Scott Branden <scott.branden at broadcom.com>
> 
> Move kernel_read_file* out of linux/fs.h to its own linux/kernel_read_file.h
> include file. That header gets pulled in just about everywhere
> and doesn't really need functions not related to the general fs interface.
> 
> Suggested-by: Christoph Hellwig <hch at lst.de>
> Signed-off-by: Scott Branden <scott.branden at broadcom.com>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Link: https://lore.kernel.org/r/20200706232309.12010-2-scott.branden@broadcom.com
> Signed-off-by: Kees Cook <keescook at chromium.org>

Reviewed-by: Mimi Zohar <zohar at linux.ibm.com>



More information about the Linux-security-module-archive mailing list