summaryrefslogtreecommitdiff
path: root/include/linux/ima.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-10-02 20:38:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-05 14:37:03 +0300
commit885352881f11f1f3113d8eb877786bcb6d720544 (patch)
treeccd23c1c8312552381157d8c8848415aa82901bc /include/linux/ima.h
parent113eeb517780add2b38932a61d4e4440a73eb72a (diff)
downloadlinux-885352881f11f1f3113d8eb877786bcb6d720544.tar.xz
fs/kernel_read_file: Add file_size output argument
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. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Mimi Zohar <zohar@linux.ibm.com> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: James Morris <jamorris@linux.microsoft.com> Acked-by: Scott Branden <scott.branden@broadcom.com> Link: https://lore.kernel.org/r/20201002173828.2099543-8-keescook@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/ima.h')
0 files changed, 0 insertions, 0 deletions