diff options
| author | Pali Rohár <[email protected]> | 2024-12-09 19:44:23 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-04-01 09:58:00 +0000 |
| commit | e255612b5ed9f179abe8196df7c2ba09dd227900 (patch) | |
| tree | 9e4b4fe987b446675d23da50e56145ee8fd5f4ba /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | |
| parent | cifs: Fix querying and creating MF symlinks over SMB1 (diff) | |
| download | kernel-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
