]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: display security information in /proc/fs/cifs/DebugData more accurately
authorSteve French <stfrench@microsoft.com>
Sun, 10 Mar 2019 00:12:18 +0000 (18:12 -0600)
committerSteve French <stfrench@microsoft.com>
Fri, 15 Mar 2019 00:32:35 +0000 (19:32 -0500)
commit4215e1b5a80c973d5bff3f2f865afae36c687218
tree6c05f001a8782940498f6802b13c15fccaf74d1a
parentb758e6f6a21d9f96967378e9616bc1b445d55191
smb3: display security information in /proc/fs/cifs/DebugData more accurately

When the server required encryption (but we didn't connect to it with the
"seal" mount option) we weren't displaying in /proc/fs/cifs/DebugData that
the tcon for that share was encrypted. Similarly we were not displaying
that signing was required when ses->sign was enabled (we only
checked ses->server->sign).  This makes it easier to debug when in
fact the connection is signed (or sealed), whether for performance
or security questions.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/cifs_debug.c