aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2024-12-09 19:44:23 +0000
committerSteve French <[email protected]>2025-04-01 09:58:00 +0000
commite255612b5ed9f179abe8196df7c2ba09dd227900 (patch)
tree9e4b4fe987b446675d23da50e56145ee8fd5f4ba /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
parentcifs: Fix querying and creating MF symlinks over SMB1 (diff)
downloadkernel-e255612b5ed9f179abe8196df7c2ba09dd227900.tar.gz
kernel-e255612b5ed9f179abe8196df7c2ba09dd227900.zip
cifs: Add fallback for SMB2 CREATE without FILE_READ_ATTRIBUTES
Some operations, like WRITE, does not require FILE_READ_ATTRIBUTES access. So when FILE_READ_ATTRIBUTES is not explicitly requested for smb2_open_file() then first try to do SMB2 CREATE with FILE_READ_ATTRIBUTES access (like it was before) and then fallback to SMB2 CREATE without FILE_READ_ATTRIBUTES access (less common case). This change allows to complete WRITE operation to a file when it does not grant FILE_READ_ATTRIBUTES permission and its parent directory does not grant READ_DATA permission (parent directory READ_DATA is implicit grant of child FILE_READ_ATTRIBUTES permission). Signed-off-by: Pali Rohár <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c')
0 files changed, 0 insertions, 0 deletions