cifs: Various changes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/211 patches 15 repliesIn review
- v1 posting 1/235 patches 23 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | cifs: Fix and improve cifs_is_path_accessible() functionfs/ | +16 | 0 replies | |
| 2/11 | cifs: Remove code for querying FILE_INFO_STANDARD via CIFSSMBQPathInfo()fs/ fs/ fs/ | +5 | 0 replies | |
| 3/11 | cifs: Remove CIFSSMBSetPathInfoFB() fallback functionfs/ | +0 | 0 replies | |
| 4/11 | cifs: Remove cifs_backup_query_path_info() and replace it by cifs_query_path_info()fs/ fs/ | +5 | 0 replies | |
| 5/11 | cifs: Fix validation of EAs for WSL reparse pointsfs/ | +20 | 0 replies | |
| 6/11 | cifs: Validate presence of EA $LXMOD for WSL reparse pointsfs/ | +12 | 4 replies | |
| 7/11 | cifs: Check if server supports EAs before trying to set it for WSLfs/ | +7 | 3 replies | |
| 8/11 | cifs: Extend ->set_EA() callback to allow operate on reparse pointfs/ fs/ fs/ +2 more | +28 | 0 replies | |
| 9/11 | cifs: Create native Window socket file compatible also with WSL subsystemfs/ | +28 | 1 reply | |
| 10/11 | cifs: Add support for parsing WSL symlinks in version 1 formatfs/ fs/ fs/ +1 more | +105 | 3 replies | |
| 11/11 | cifs: Add support for creating WSL symlinks in version 1 formatfs/ fs/ fs/ +2 more | +81 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RESEND 00/11] cifs: Various changes
This patch series contains various cifs changes which I sent year ago. All those patches are rebased on top of the 7.2-rc2 and there is no new change in them, just they are rebased for new code base.
I pushed these changes also into my git branch cifs:
https://git.kernel.org/pub/scm/linux/kernel/git/pali/linux.git/log/?h=cifs
Note that patch "cifs: Remove cifs_backup_query_path_info() and replace it by cifs_query_path_info()" is removing these lines:
- move_cifs_info_to_smb2(&data->fi, fi);
- fdi = (FILE_DIRECTORY_INFO *)fi;
- si = (FILE_ID_FULL_DIR_INFO *)fi;
And I have feeling that in this old code (which is being) removed could be a buffer overflow as it is casting between incompatible structures. I have not spent too much time with it as the code is begin removed. But maybe some AI tool could be able to confirm if this is some buffer overflow or not.
Pali Rohár (11):
cifs: Fix and improve cifs_is_path_accessible() function
cifs: Remove code for querying FILE_INFO_STANDARD via
CIFSSMBQPathInfo()
cifs: Remove CIFSSMBSetPathInfoFB() fallback function
cifs: Remove cifs_backup_query_path_info() and replace it by
cifs_query_path_info()
cifs: Fix validation of EAs for WSL reparse points
cifs: Validate presence of EA $LXMOD for WSL reparse points
cifs: Check if server supports EAs before trying to set it for WSL
cifs: Extend ->set_EA() callback to allow operate on reparse point
cifs: Create native Window socket file compatible also with WSL
subsystem
cifs: Add support for parsing WSL symlinks in version 1 format
cifs: Add support for creating WSL symlinks in version 1 format
fs/smb/client/cifsglob.h | 10 +- fs/smb/client/cifsproto.h | 1 + fs/smb/client/cifssmb.c | 79 +++-------- fs/smb/client/fs_context.c | 11 +- fs/smb/client/fs_context.h | 3 +- fs/smb/client/inode.c | 98 +------------- fs/smb/client/link.c | 3 +- fs/smb/client/reparse.c | 267 ++++++++++++++++++++++++++++++++----- fs/smb/client/smb1ops.c | 35 +++-- fs/smb/client/smb1proto.h | 4 +- fs/smb/client/smb2ops.c | 6 +- fs/smb/client/xattr.c | 3 +- fs/smb/common/fscc.h | 5 +- 13 files changed, 306 insertions(+), 219 deletions(-)
Signature · 1 line
2.20.1