1
0
Fork 0
remarkable-linux/fs/overlayfs
Vivek Goyal c0ca3d70e8 ovl: modify ovl_permission() to do checks on two inodes
Right now ovl_permission() calls __inode_permission(realinode), to do
permission checks on real inode and no checks are done on overlay inode.

Modify it to do checks both on overlay inode as well as underlying inode.
Checks on overlay inode will be done with the creds of calling task while
checks on underlying inode will be done with the creds of mounter.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2016-07-29 12:05:23 +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
copy_up.c ovl: override creds with the ones from the superblock mounter 2016-05-27 08:55:26 +02:00
dir.c ovl: define ->get_acl() for overlay inodes 2016-07-29 12:05:23 +02:00
inode.c ovl: modify ovl_permission() to do checks on two inodes 2016-07-29 12:05:23 +02:00
overlayfs.h ovl: define ->get_acl() for overlay inodes 2016-07-29 12:05:23 +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: define ->get_acl() for overlay inodes 2016-07-29 12:05:23 +02:00