android_kernel_oneplus_msm8998/fs/overlayfs
Miklos Szeredi 8373f6590f ovl: setattr: check permissions before copy-up
commit cf9a6784f7c1b5ee2b9159a1246e327c331c5697 upstream.

Without this copy-up of a file can be forced, even without actually being
allowed to do anything on the file.

[Arnd Bergmann] include <linux/pagemap.h> for PAGE_CACHE_SIZE (used by
MAX_LFS_FILESIZE definition).

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-25 12:01:24 -08:00
..
copy_up.c ovl: use a minimal buffer in ovl_copy_xattr 2016-02-25 12:01:24 -08:00
dir.c ovl: mount read-only if workdir can't be created 2015-05-19 14:30:12 +02:00
inode.c ovl: setattr: check permissions before copy-up 2016-02-25 12:01:24 -08:00
Kconfig ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
Makefile ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
overlayfs.h ovl: get rid of the dead code left from broken (and disabled) optimizations 2015-12-06 12:31:07 -05:00
readdir.c ovl: check dentry positiveness in ovl_cleanup_whiteouts() 2016-02-25 12:01:24 -08:00
super.c ovl: setattr: check permissions before copy-up 2016-02-25 12:01:24 -08:00