Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2ebf5ee5 authored by Ravi Kumar Siddojigari's avatar Ravi Kumar Siddojigari Committed by Gerrit - the friendly Code Review server
Browse files

Revert "ecryptfs: forbid opening files without mmap handler"



commit 480546c9b2b8 ("ecryptfs: forbid opening

Files without mmap handler")

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>
Git-repo:https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git


Git-commit: 78c4e172412de5d0456dc00d2b34050aa0b683b5
Signed-off-by: default avatarSrinivasa Rao Kuppala <srkupp@codeaurora.org>
Change-Id: I7c11ae0215d9b3a5944bb3be73d5423a4d008fcd
parent 6fb76668
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment