diff options
author | Jeff Mahoney <jeffm@suse.com> | 2016-07-05 17:32:30 -0400 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2016-07-19 15:49:46 -0400 |
commit | bda373bb186b027786681f930959deb56f4de01b (patch) | |
tree | 0b6cabd37d261406b6a149cb197cd88f165e801a /arch/powerpc | |
parent | db86fac6fe0f05f02be9fbc5fcfa236f3209076c (diff) |
ecryptfs: don't allow mmap when the lower fs doesn't support it
[ Upstream commit f0fe970df3838c202ef6c07a4c2b36838ef0a88b ]
There are legitimate reasons to disallow mmap on certain files, notably
in sysfs or procfs. We shouldn't emulate mmap support on file systems
that don't offer support natively.
CVE-2016-1583
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Cc: stable@vger.kernel.org
[tyhicks: clean up f_op check by using ecryptfs_file_to_lower()]
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions