linux-next/fs/smb/common
Pali Rohár 06a7adf318 cifs: Add support for parsing WSL-style symlinks
Linux CIFS client currently does not implement readlink() for WSL-style
symlinks. It is only able to detect that file is of WSL-style symlink, but
is not able to read target symlink location.

Add this missing functionality and implement support for parsing content of
WSL-style symlink.

The important note is that symlink target location stored for WSL symlink
reparse point (IO_REPARSE_TAG_LX_SYMLINK) is in UTF-8 encoding instead of
UTF-16 (which is used in whole SMB protocol and also in all other symlink
styles). So for proper locale/cp support it is needed to do conversion from
UTF-8 to local_nls.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2024-11-25 14:50:32 -06:00
..
arc4.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
cifs_arc4.c fs: smb: common: add missing MODULE_DESCRIPTION() macros 2024-05-27 00:44:23 -05:00
cifs_md4.c fs: smb: common: add missing MODULE_DESCRIPTION() macros 2024-05-27 00:44:23 -05:00
Makefile smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
md4.h smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
smb2pdu.h cifs: Add support for parsing WSL-style symlinks 2024-11-25 14:50:32 -06:00
smb2status.h smb: add comment to STATUS_MCA_OCCURED 2024-09-15 10:42:44 -05:00
smbacl.h smb: move some duplicate definitions to common/smbacl.h 2024-09-15 10:42:44 -05:00
smbfsctl.h smb: Update comments about some reparse point tags 2024-09-29 17:28:40 -05:00