[PATCH v2 0/6] cifs: Improve support for native SMB symlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.20.1





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux