diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2020-06-02 22:20:26 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-06-03 09:45:22 +0200 |
commit | 05acefb4872dae89e772729efb194af754c877e8 (patch) | |
tree | 9a53947fdb6ac28bca724cfb7a05090fea1f3b8d /include/trace | |
parent | ovl: call secutiry hook in ovl_real_ioctl() (diff) | |
download | linux-05acefb4872dae89e772729efb194af754c877e8.tar.xz linux-05acefb4872dae89e772729efb194af754c877e8.zip |
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 'include/trace')
0 files changed, 0 insertions, 0 deletions