linux_dsm_epyc7002/fs/overlayfs
Vivek Goyal e29841a0ab ovl: dilute permission checks on lower only if not special file
Right now if file is on lower/, we remove MAY_WRITE/MAY_APPEND bits from
mask as lower/ will never be written and file will be copied up. But this
is not true for special files. These files are not copied up and are opened
in place. So don't dilute the checks for these types of files.

Reported-by: Dan Walsh <dwalsh@redhat.com>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2016-07-29 12:05:24 +02:00
..
copy_up.c ovl: store real inode pointer in ->i_private 2016-07-29 12:05:24 +02:00
dir.c ovl: fix POSIX ACL setting 2016-07-29 12:05:24 +02:00
inode.c ovl: dilute permission checks on lower only if not special file 2016-07-29 12:05:24 +02: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: fix POSIX ACL setting 2016-07-29 12:05:24 +02:00
readdir.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-05-27 17:14:05 -07:00
super.c ovl: fix POSIX ACL setting 2016-07-29 12:05:24 +02:00