diff options
author | Christian Brauner <brauner@kernel.org> | 2022-04-04 13:51:55 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2022-04-28 17:31:12 +0300 |
commit | 4b7791b2e95805eaa9568761741d33cf929c930c (patch) | |
tree | a43c459ac29dcf7fbf5e80470e4c104b0731c8ff /init | |
parent | 2878dffc7db0b5a51e308ccb6b571296b57c82e7 (diff) | |
download | linux-4b7791b2e95805eaa9568761741d33cf929c930c.tar.xz |
ovl: handle idmappings in ovl_permission()
Use the previously introduced ovl_i_path_real() helper to retrieve the
relevant upper or lower path and take the mount's idmapping into account
for the lower layer permission check. This is needed to support idmapped
base layers with overlay.
Cc: <linux-unionfs@vger.kernel.org>
Tested-by: Giuseppe Scrivano <gscrivan@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions