]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mm/nommu: switch do_mmap_private to kernel_read
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Sep 2017 15:39:17 +0000 (17:39 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Sep 2017 23:05:16 +0000 (19:05 -0400)
commitb4bf802a5a6563c22d5e41a0f8873088bd3f655e
tree4566651bc3e7b65d0308ebe092f4446b2605ce24
parent9a779bc149c79a7acae5614617a0a9e0fd007ce4
mm/nommu: switch do_mmap_private to kernel_read

Instead of playing with the address limit.  This also gains us
validation of the kvec and proper atime updates.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/nommu.c