OpenCloudOS-Kernel/fs/smb
Eugene Korenevsky da2911798f cifs: open_cached_dir(): add FILE_READ_EA to desired access
[ Upstream commit f1b8224b4e6ed59e7e6f5c548673c67410098d8d ]

Since smb2_query_eas() reads EA and uses cached directory,
open_cached_dir() should request FILE_READ_EA access.

Otherwise listxattr() and getxattr() will fail with EACCES
(0xc0000022 STATUS_ACCESS_DENIED SMB status).

Link: https://bugzilla.kernel.org/show_bug.cgi?id=218543
Cc: stable@vger.kernel.org
Signed-off-by: Eugene Korenevsky <ekorenevsky@astralinux.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-03 15:28:35 +02:00
..
client cifs: open_cached_dir(): add FILE_READ_EA to desired access 2024-04-03 15:28:35 +02:00
common smb: client, common: fix fortify warnings 2024-01-20 11:51:38 +01:00
server ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info 2024-04-03 15:28:31 +02:00
Kconfig
Makefile