clean up kernel_{read,write} & friends v2

Christoph Hellwig hch at
Thu May 28 05:40:29 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 v2:
 - picked up a few ACKs

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

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