diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-26 12:46:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-26 12:46:45 -0700 |
commit | 5e5d7597637c64588f5cf4db798664a560fbec67 (patch) | |
tree | 4914d4daa067fb4c1b3b5cf0cf44029e96730cc4 /fs/ksmbd/smb_common.h | |
parent | 996148ee05d08ef5163cad99c33a7b5e844ac494 (diff) | |
parent | 265fd1991c1db85fbabaad4946ca0e63e2ae688d (diff) |
Merge tag '5.15-rc2-ksmbd-fixes' of git://git.samba.org/ksmbd
Pull ksmbd fixes from Steve French:
"Five fixes for the ksmbd kernel server, including three security
fixes:
- remove follow symlinks support
- use LOOKUP_BENEATH to prevent out of share access
- SMB3 compounding security fix
- fix for returning the default streams correctly, fixing a bug when
writing ppt or doc files from some clients
- logging more clearly that ksmbd is experimental (at module load
time)"
* tag '5.15-rc2-ksmbd-fixes' of git://git.samba.org/ksmbd:
ksmbd: use LOOKUP_BENEATH to prevent the out of share access
ksmbd: remove follow symlinks support
ksmbd: check protocol id in ksmbd_verify_smb_message()
ksmbd: add default data stream name in FILE_STREAM_INFORMATION
ksmbd: log that server is experimental at module load
Diffstat (limited to 'fs/ksmbd/smb_common.h')
-rw-r--r-- | fs/ksmbd/smb_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ksmbd/smb_common.h b/fs/ksmbd/smb_common.h index 57c667c1be06..0a6af447cc45 100644 --- a/fs/ksmbd/smb_common.h +++ b/fs/ksmbd/smb_common.h @@ -210,6 +210,7 @@ FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES) #define SMB1_PROTO_NUMBER cpu_to_le32(0x424d53ff) +#define SMB_COM_NEGOTIATE 0x72 #define SMB1_CLIENT_GUID_SIZE (16) struct smb_hdr { |