Skip to content
Commit 78c4e172 authored by Jeff Mahoney's avatar Jeff Mahoney Committed by Tyler Hicks
Browse files

Revert "ecryptfs: forbid opening files without mmap handler"

This reverts commit 2f36db71

.

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: default avatarJeff Mahoney <jeffm@suse.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarTyler Hicks <tyhicks@canonical.com>
parent 40f0fd37
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment