diff options
author | 2022-04-04 12:51:56 +0200 | |
---|---|---|
committer | 2022-04-28 16:31:12 +0200 | |
commit | 8423b3bd7d970f26a4cbd92f4b9a95b5c246660d (patch) | |
tree | 032d93730d0bccae701b0b4f0d1fa0cacfa63e49 /scripts/gdb/linux/utils.py | |
parent | ovl: handle idmappings in ovl_permission() (diff) | |
download | wireguard-linux-8423b3bd7d970f26a4cbd92f4b9a95b5c246660d.tar.xz wireguard-linux-8423b3bd7d970f26a4cbd92f4b9a95b5c246660d.zip |
ovl: handle idmappings in layer open helpers
In earlier patches we already passed down the relevant upper or lower
path to ovl_open_realfile(). Now let the open helpers actually take the
idmapping of the relevant mount into account when checking permissions.
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions