cifs: Improve support for native SMB symlinks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 7 repliesIn review
- v17 patches 14 repliesSuperseded
Changes in v2 from the cover letter
- Patch which renames function was dropped
- Patch "Improve creating native symlinks pointing to directory" address issues pointed by Paulo Alcantara
- Patch "Fix parsing native symlinks directory/file type" was changed to apply fixups only for non-POSIX servers (Windows SMB/NT)
- Patch "Validate content of native symlink" was improved to check also UTF-16 buffer length of symlink
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | cifs: Improve creating native symlinks pointing to directoryfs/ fs/ fs/ | +164 | 0 replies | |
| 2/6 | cifs: Fix creating native symlinks pointing to current or parent directoryfs/ | +14 | 0 replies | |
| 3/6 | cifs: Fix parsing native symlinks relative to the exportfs/ fs/ fs/ +6 more | +108 | 0 replies | |
| 4/6 | cifs: Fix parsing native symlinks directory/file typefs/ fs/ fs/ +1 more | +65 | 4 replies | |
| 5/6 | cifs: Validate content of native symlinkfs/ | +19 | 2 replies | |
| 6/6 | cifs: Fix creating and resolving absolute NT-style symlinksfs/ fs/ fs/ | +273 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/6] cifs: Improve support for native SMB symlinks
This is second version of patch series which improves support for native SMB symlinks.
Changes since v1:
- Patch which renames function was dropped
- Patch "Improve creating native symlinks pointing to directory" address issues pointed by Paulo Alcantara
- Patch "Fix parsing native symlinks directory/file type" was changed to apply fixups only for non-POSIX servers (Windows SMB/NT)
- Patch "Validate content of native symlink" was improved to check also UTF-16 buffer length of symlink
Pali Rohár (6):
cifs: Improve creating native symlinks pointing to directory
cifs: Fix creating native symlinks pointing to current or parent
directory
cifs: Fix parsing native symlinks relative to the export
cifs: Fix parsing native symlinks directory/file type
cifs: Validate content of native symlink
cifs: Fix creating and resolving absolute NT-style symlinks
fs/smb/client/cifs_unicode.c | 17 +- fs/smb/client/cifsglob.h | 1 + fs/smb/client/cifsproto.h | 1 + fs/smb/client/fs_context.c | 22 ++ fs/smb/client/fs_context.h | 2 + fs/smb/client/inode.c | 6 + fs/smb/client/reparse.c | 538 ++++++++++++++++++++++++++++++++--- fs/smb/client/reparse.h | 4 +- fs/smb/client/smb1ops.c | 3 +- fs/smb/client/smb2file.c | 76 ++++- fs/smb/client/smb2inode.c | 13 +- fs/smb/client/smb2proto.h | 11 +- 12 files changed, 642 insertions(+), 52 deletions(-)
Signature · 1 line
2.20.1