commit | 05acefb4872dae89e772729efb194af754c877e8 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Tue Jun 02 22:20:26 2020 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Wed Jun 03 09:45:22 2020 +0200 |
tree | 9a53947fdb6ac28bca724cfb7a05090fea1f3b8d | |
parent | 292f902a40c11f043a5ca1305a114da0e523eaa3 [diff] |
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>