]> git.baikalelectronics.ru Git - 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)
commitf86c1323df279b522389a67e25fa6b35d441cf59
tree38bb67536788cf18997559d2d067c2459192ce63
parent41fef2343b0efd2a1674785b67d01c8efd8e40f2
Revert "ecryptfs: forbid opening files without mmap handler"

This reverts commit 2f9dfb98e1c15cee09e492e2a241c68b6dd5a557.

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