diff options
| author | Miklos Szeredi <[email protected]> | 2025-02-07 16:12:06 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2025-04-30 08:55:27 +0000 |
| commit | 5ef7bcdeecc982ae17d13b682a85123c7d74b200 (patch) | |
| tree | 813cc814c5260b41249e4783e7a775113dcb32ea /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | ovl: make redirect/metacopy rejection consistent (diff) | |
| download | kernel-5ef7bcdeecc982ae17d13b682a85123c7d74b200.tar.gz kernel-5ef7bcdeecc982ae17d13b682a85123c7d74b200.zip | |
ovl: relax redirect/metacopy requirements for lower -> data redirect
Allow the special case of a redirect from a lower layer to a data layer
without having to turn on metacopy. This makes the feature work with
userxattr, which in turn allows data layers to be usable in user
namespaces.
Minimize the risk by only enabling redirect from a single lower layer to a
data layer iff a data layer is specified. The only way to access a data
layer is to enable this, so there's really no reason not to enable this.
This can be used safely if the lower layer is read-only and the
user.overlay.redirect xattr cannot be modified.
Reviewed-by: Amir Goldstein <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
