]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: change security id to the one samba used for posix extension
authorNamjae Jeon <linkinjeon@kernel.org>
Mon, 18 Dec 2023 15:33:13 +0000 (00:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:52 +0000 (10:41 +0100)
commit813ef06ea2a30db7c60ec34506b82ce50222ce6e
tree2a4d3b0240a6c91d0f371431505007fda7c417d1
parent62e6846ee3bae7fc2607f30136b5566a7c4685bf
ksmbd: change security id to the one samba used for posix extension

[ Upstream commit 5609bdd9ffdccd83f9003511b1801584b703baa5 ]

Samba set SIDOWNER and SIDUNIX_GROUP in create posix context and
set SIDUNIX_USER/GROUP in other sids for posix extension.
This patch change security id to the one samba used.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ksmbd/oplock.c
fs/ksmbd/smb2pdu.c
fs/ksmbd/smb2pdu.h