diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-06-21 19:47:56 +0900 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-06-22 20:15:05 -0500 |
| commit | ba3cf6ee4f0eacc1f8c607b80188e3b32ef5e0e3 (patch) | |
| tree | 0ad5113b26ccd3829b3dd309daf25113086af0ac /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | 3b41d8b05dc89b1f3c53ca7f1a084c7c93712ebf (diff) | |
ksmbd: apply create security descriptor first
smb2.create.aclfile creates files with an SMB2_CREATE_SD_BUFFER create
context and expects the resulting security descriptor to match
the descriptor supplied by the client.
ksmbd currently tries to inherit the parent DACL first and only parses
the SMB2_CREATE_SD_BUFFER context when DACL inheritance fails.
If inheritance succeeds, the explicit security descriptor supplied on
create is ignored. This breaks create requests that include owner/group
information in the security descriptor.
Apply the create security descriptor first when the context is present.
Fall back to the existing inherited/default ACL path only when no create
security descriptor was supplied.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
