diff options
author | Steve French <stfrench@microsoft.com> | 2018-05-24 04:11:07 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-05-30 16:06:18 -0500 |
commit | f92a720ee9d5d4e76a9621ce0812aef133c7b981 (patch) | |
tree | 26f6387be83eba35333481337bcbe43491277053 /fs/ocfs2/slot_map.c | |
parent | 11911b956f35868be5b3c0f686e01973a221abe6 (diff) | |
download | blackbird-obmc-linux-f92a720ee9d5d4e76a9621ce0812aef133c7b981.tar.gz blackbird-obmc-linux-f92a720ee9d5d4e76a9621ce0812aef133c7b981.zip |
cifs: allow disabling less secure legacy dialects
To improve security it may be helpful to have additional ways to restrict the
ability to override the default dialects (SMB2.1, SMB3 and SMB3.02) on mount
with old dialects (CIFS/SMB1 and SMB2) since vers=1.0 (CIFS/SMB1) and vers=2.0
are weaker and less secure.
Add a module parameter "disable_legacy_dialects"
(/sys/module/cifs/parameters/disable_legacy_dialects) which can be set to
1 (or equivalently Y) to forbid use of vers=1.0 or vers=2.0 on mount.
Also cleans up a few build warnings about globals for various module parms.
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/ocfs2/slot_map.c')
0 files changed, 0 insertions, 0 deletions