aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2025-06-04 16:27:08 +0000
committerAl Viro <[email protected]>2025-06-07 05:37:56 +0000
commit12f147ddd6de7382dad54812e65f3f08d05809fc (patch)
treef80b09accd93e5e61c8bb63b8c59be1dbc3ac1bd /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentclone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns (diff)
downloadkernel-12f147ddd6de7382dad54812e65f3f08d05809fc.tar.gz
kernel-12f147ddd6de7382dad54812e65f3f08d05809fc.zip
do_change_type(): refuse to operate on unmounted/not ours mounts
Ensure that propagation settings can only be changed for mounts located in the caller's mount namespace. This change aligns permission checking with the rest of mount(2). Reviewed-by: Christian Brauner <[email protected]> Fixes: 07b20889e305 ("beginning of the shared-subtree proper") Reported-by: "Orlando, Noah" <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions