The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
Kees Cook 885352881f 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>
2020-10-05 13:37:03 +02:00
Documentation Detailed description for this pull request: 2020-10-05 12:37:22 +02:00
LICENSES
arch ARM: SoC fixes 2020-09-13 14:54:40 -07:00
block
certs
crypto
drivers fs/kernel_read_file: Add file_size output argument 2020-10-05 13:37:03 +02:00
fs fs/kernel_read_file: Add file_size output argument 2020-10-05 13:37:03 +02:00
include fs/kernel_read_file: Add file_size output argument 2020-10-05 13:37:03 +02:00
init
ipc
kernel fs/kernel_read_file: Add file_size output argument 2020-10-05 13:37:03 +02:00
lib Driver core fixes for 5.9-rc5 2020-09-13 09:02:59 -07:00
mm
net
samples misc: vop: add round_up(x,4) for vring_size to avoid kernel panic 2020-10-02 15:57:29 +02:00
scripts
security fs/kernel_read_file: Add file_size output argument 2020-10-05 13:37:03 +02:00
sound soundwire updates for 5.10-rc1 2020-10-01 22:59:55 +02:00
tools Linux 5.9-rc5 2020-09-14 10:07:08 +02:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Detailed description for this pull request: 2020-10-05 12:37:22 +02:00
Makefile Linux 5.9-rc5 2020-09-13 16:06:00 -07:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.