[PATCH v9 1/8] fs: introduce kernel_pread_file* support

Scott Branden scott.branden at broadcom.com
Tue Jun 16 16:09:16 UTC 2020


Hi Christoph,

On 2020-06-16 12:34 a.m., Christoph Hellwig wrote:
> Seriously, no more additions to fs.h for this interface please.  As
> requested before as the very first thing move it out of this header
> used by just about every file in the kernel.  That is in addition
> to all the other issues with the interface.
I can add such to the start of this patch series. I'm guessing from:
#define __kernel_read_file_id(id) \
to
extern int kernel_read_file_from_fd(int, void **, loff_t *, loff_t,
                     enum kernel_read_file_id);




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