clean up kernel_{read,write} & friends v2

Christoph Hellwig hch at
Wed May 13 06:56:42 UTC 2020

Hi Al,

this series fixes a few issues and cleans up the helpers that read from
or write to kernel space buffers, and ensures that we don't change the
address limit if we are using the ->read_iter and ->write_iter methods
that don't need the changed address limit.

Changes since v1:
 - __kernel_write must not take sb_writers
 - unexported __kernel_write

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