linux/fs/overlayfs
Miklos Szeredi 05acefb487 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>
2020-06-03 09:45:22 +02:00
..
copy_up.c
dir.c ovl: initialize OVL_UPPERDATA in ovl_lookup() 2020-06-02 22:20:25 +02:00
export.c
file.c ovl: check permission to open real file 2020-06-03 09:45:22 +02:00
inode.c ovl: initialize OVL_UPPERDATA in ovl_lookup() 2020-06-02 22:20:25 +02:00
Kconfig
Makefile
namei.c ovl: fix redirect traversal on metacopy dentries 2020-06-02 22:20:25 +02:00
overlayfs.h ovl: fix out of bounds access warning in ovl_check_fb_len() 2020-06-02 22:20:25 +02:00
ovl_entry.h
readdir.c ovl: switch to mounter creds in readdir 2020-06-02 22:20:25 +02:00
super.c
util.c ovl: verify permissions in ovl_path_open() 2020-06-02 22:20:26 +02:00