summaryrefslogtreecommitdiff
path: root/fs/overlayfs/namei.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2020-06-02 23:20:26 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2020-06-03 10:45:22 +0300
commit05acefb4872dae89e772729efb194af754c877e8 (patch)
tree9a53947fdb6ac28bca724cfb7a05090fea1f3b8d /fs/overlayfs/namei.c
parent292f902a40c11f043a5ca1305a114da0e523eaa3 (diff)
downloadlinux-05acefb4872dae89e772729efb194af754c877e8.tar.xz
ovl: check permission to open real file
Call inode_permission() on real inode before opening regular file on one of the underlying layers. In some cases ovl_permission() already checks access to an underlying file, but it misses the metacopy case, and possibly other ones as well. Removing the redundant permission check from ovl_permission() should be considered later. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/namei.c')
0 files changed, 0 insertions, 0 deletions