android_kernel_samsung_msm8226/fs/ecryptfs
Jeff Mahoney 1fb9218645 ecryptfs: don't allow mmap when the lower fs doesn't support it
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

Change-Id: I1d7c4a5923d57d5cfcdb3b01ba0300ede45790b5
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: Kevin F. Haggerty <haggertk@lineageos.org>
2019-08-06 11:48:23 +02:00
..
Kconfig misc: Remove Samsung Secure Data Protection sprinkles 2019-08-05 09:12:33 +02:00
Makefile misc: Remove Samsung Secure Data Protection sprinkles 2019-08-05 09:12:33 +02:00
crypto.c misc: Remove Samsung Secure Data Protection sprinkles 2019-08-05 09:12:33 +02:00
debug.c misc: Remove Samsung Secure Data Protection sprinkles 2019-08-05 09:12:33 +02:00
dentry.c Merge tag 'v3.4.113' into lineage-16.0 2019-08-05 14:20:47 +02:00
ecryptfs_kernel.h misc: Remove Samsung Secure Data Protection sprinkles 2019-08-05 09:12:33 +02:00
file.c ecryptfs: don't allow mmap when the lower fs doesn't support it 2019-08-06 11:48:23 +02:00
inode.c misc: Remove Samsung Secure Data Protection sprinkles 2019-08-05 09:12:33 +02:00
keystore.c misc: Remove Samsung Secure Data Protection sprinkles 2019-08-05 09:12:33 +02:00
kthread.c misc: Import SM-G900H kernel source code 2019-08-02 15:14:10 +02:00
main.c BACKPORT: fs: limit filesystem stacking depth 2019-08-06 11:48:13 +02:00
messaging.c
miscdev.c misc: Import SM-G900H kernel source code 2019-08-02 15:14:10 +02:00
mm.c misc: Remove Samsung Secure Data Protection sprinkles 2019-08-05 09:12:33 +02:00
mm.h misc: Import SM-G900H kernel source code 2019-08-02 15:14:10 +02:00
mmap.c misc: Import SM-G900H kernel source code 2019-08-02 15:14:10 +02:00
read_write.c
super.c misc: Remove Samsung Secure Data Protection sprinkles 2019-08-05 09:12:33 +02:00