Re: [PATCH] smb/server: check destination is open when renaming

Ralph Boehme <[email protected]>
Newsgroups org.kernel.vger.linux-cifs
Message-ID <[email protected]>
On 8/4/26 9:53 AM, Namjae Jeon via samba-technical wrote:
> On Tue, Aug 4, 2026 at 4:16 PM ChenXiaoSong
> <[email protected]> wrote:
>>
>> Hi Namjae,
>>
>> Currently, both the client and server support only
>> `FileRenameInformation` (level 10) and do not implement
>> `FileRenameInformationEx` (level 65).
>>
>> Level 10 does not support `FILE_RENAME_POSIX_SEMANTICS`.
> Okay. We can implement this in ksmbd and cifs.ko to pass generic/035 test.
> 
> Thanks for sharing it.
fwiw, this should not be used for POSIX mode, see my other mail.
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEE+uLGCIokJSBRxVnkqh6bcSY5nkYFAmpxpp4FAwAAAAAACgkQqh6bcSY5nkbx
BhAAqZkivUoKNT3CTCl3dJNnhKaW4vQ930lMd6jO+zUtEB+0W8E7tsOrljrhFlTMbEGrhJZ0DpFD
09+CD8X47x65yDhwBJgeoLGcjuLspUKyfW32vs/1ERAnHsqagC5xFIwVXLD1bS/8tGJBPiI2SczZ
nOhmgSqTyC8r8abmuW39jZJv2GZZ8YJcdHcOBtbrOyYFtXtvhGTGF4WvquoVEJdRWsbzMc7XRm6V
wyvTIGUYLTVInP+CED68n3BOEJiss8mbxDKL0ymXNdLX3mZ0Lch1hbcN4ZEKQYmTdWNHj9iRCGZf
0H4gihTW/g7a6NI+E50L8HHdfGpdoBs708tNZyDoD69Ftn2iqHRKVFTAmJp7KuEA7RbCtTTNHpdj
GeiM2t2uUBycAaM7nQDi+lL6VcBwp7JyJxafhADP3PlLIxea52RqXaqJenvXh+fZt5NNL2SrrQu4
QOkk3peF+0YXv3Rs7vbzzBJ8JbqbAQyyDPVqxraXTqq15392SLKeHi83jJU4naiP6rvKV3Wz+IcP
G7lSwXU8JUNf//3HxU47IpRWhoM8GHDGCtJTq7GMynhIuPiQxYDT3vPSXxjVSw7QFvNmFkVoCIUY
j+KhtNyZZy6piigNx7NqPq4OGIasY4P+qhyBipPPRg7qHfUNQztQjRmiqexCHWZ1QLwk1QvrOV8l
sd4=
=6+5o
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.