vfs: define kernel_copy_file_from_fd()
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 1 Feb 2016 13:36:21 +0000 (08:36 -0500)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Sun, 21 Feb 2016 14:06:10 +0000 (09:06 -0500)
commitb844f0ecbc5626ec26cfc70cb144a4c9b85dc3f2
tree79e25e330dbfadf46c106c119a7f105e3f419697
parent39eeb4fb97f60dbdfc823c1a673a8844b9226b60
vfs: define kernel_copy_file_from_fd()

This patch defines kernel_read_file_from_fd(), a wrapper for the VFS
common kernel_read_file().

Changelog:
- Separated from the kernel modules patch
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Luis R. Rodriguez <mcgrof@kernel.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
fs/exec.c
include/linux/fs.h