[PATCH v2 0/7] Allow to choose symlink and socket type

Pali Rohár posted 7 patches 1 month, 2 weeks ago
fs/smb/client/cifsfs.c     |   4 +
fs/smb/client/cifsglob.h   |  36 +++++++
fs/smb/client/connect.c    |   4 +
fs/smb/client/fs_context.c |  82 +++++++++++++++
fs/smb/client/fs_context.h |  19 ++++
fs/smb/client/link.c       |  60 ++++++++---
fs/smb/client/reparse.c    | 201 +++++++++++++++++++++++++++++++------
fs/smb/client/reparse.h    |   2 +
8 files changed, 364 insertions(+), 44 deletions(-)
[PATCH v2 0/7] Allow to choose symlink and socket type
Posted by Pali Rohár 1 month, 2 weeks ago
This patch series improves choosing reparse format when creating new
special files.

Changes since v1:
* Instead of new -o reparse= mount option is now a new -o symlink= mount
  option for choosing symlink type during creation, and new option
  -o nonativesocket for choosing socket type

Pali Rohár (7):
  cifs: Add mount option -o symlink= for choosing symlink create type
  cifs: Add mount option -o reparse=none
  cifs: Add support for creating native Windows sockets
  cifs: Add support for creating NFS-style symlinks
  cifs: Improve guard for excluding $LXDEV xattr
  cifs: Add support for creating WSL-style symlinks
  cifs: Validate content of WSL reparse point buffers

 fs/smb/client/cifsfs.c     |   4 +
 fs/smb/client/cifsglob.h   |  36 +++++++
 fs/smb/client/connect.c    |   4 +
 fs/smb/client/fs_context.c |  82 +++++++++++++++
 fs/smb/client/fs_context.h |  19 ++++
 fs/smb/client/link.c       |  60 ++++++++---
 fs/smb/client/reparse.c    | 201 +++++++++++++++++++++++++++++++------
 fs/smb/client/reparse.h    |   2 +
 8 files changed, 364 insertions(+), 44 deletions(-)

-- 
2.20.1

Re: [PATCH v2 0/7] Allow to choose symlink and socket type
Posted by Pali Rohár 4 weeks, 1 day ago
Any opinion about this v2? Is it better now?

On Saturday 12 October 2024 10:52:45 Pali Rohár wrote:
> This patch series improves choosing reparse format when creating new
> special files.
> 
> Changes since v1:
> * Instead of new -o reparse= mount option is now a new -o symlink= mount
>   option for choosing symlink type during creation, and new option
>   -o nonativesocket for choosing socket type
> 
> Pali Rohár (7):
>   cifs: Add mount option -o symlink= for choosing symlink create type
>   cifs: Add mount option -o reparse=none
>   cifs: Add support for creating native Windows sockets
>   cifs: Add support for creating NFS-style symlinks
>   cifs: Improve guard for excluding $LXDEV xattr
>   cifs: Add support for creating WSL-style symlinks
>   cifs: Validate content of WSL reparse point buffers
> 
>  fs/smb/client/cifsfs.c     |   4 +
>  fs/smb/client/cifsglob.h   |  36 +++++++
>  fs/smb/client/connect.c    |   4 +
>  fs/smb/client/fs_context.c |  82 +++++++++++++++
>  fs/smb/client/fs_context.h |  19 ++++
>  fs/smb/client/link.c       |  60 ++++++++---
>  fs/smb/client/reparse.c    | 201 +++++++++++++++++++++++++++++++------
>  fs/smb/client/reparse.h    |   2 +
>  8 files changed, 364 insertions(+), 44 deletions(-)
> 
> -- 
> 2.20.1
>