]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Revert "ecryptfs: forbid opening files without mmap handler"
authorJeff Mahoney <jeffm@suse.com>
Tue, 5 Jul 2016 21:32:29 +0000 (17:32 -0400)
committerTyler Hicks <tyhicks@canonical.com>
Thu, 7 Jul 2016 23:47:57 +0000 (18:47 -0500)
commit78c4e172412de5d0456dc00d2b34050aa0b683b5
tree38bb67536788cf18997559d2d067c2459192ce63
parent40f0fd372a623e8d32bae0b9361d2a7453ae7a2e
Revert "ecryptfs: forbid opening files without mmap handler"

This reverts commit 2f36db71009304b3f0b95afacd8eba1f9f046b87.

It fixed a local root exploit but also introduced a dependency on
the lower file system implementing an mmap operation just to open a file,
which is a bit of a heavy hammer.  The right fix is to have mmap depend
on the existence of the mmap handler instead.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Cc: stable@vger.kernel.org
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/kthread.c