summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2024-10-14 14:47:04 +0300
committerSteve French <stfrench@microsoft.com>2025-03-26 22:50:40 +0300
commitad9364a6835c45c52f47587ffbe0577bb7cd4c5b (patch)
tree2c8a6431d3325f2461675e25a9e820e87338160a /rust/helpers
parent6c06be908ca190e2d8feae1cf452d78598cd0b94 (diff)
downloadlinux-ad9364a6835c45c52f47587ffbe0577bb7cd4c5b.tar.xz
cifs: Fix getting DACL-only xattr system.cifs_acl and system.smb3_acl
Currently ->get_acl() callback always create request for OWNER, GROUP and DACL, even when only DACLs was requested by user. Change API callback to request only information for which the caller asked. Therefore when only DACLs requested, then SMB client will prepare and send DACL-only request. This change fixes retrieving of "system.cifs_acl" and "system.smb3_acl" xattrs to contain only DACL structure as documented. Note that setting/changing of "system.cifs_acl" and "system.smb3_acl" xattrs already takes only DACL structure and ignores all other fields. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions