diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-05-26 11:01:00 (GMT) |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-06-24 06:56:43 (GMT) |
commit | 28e11bd86d63ce18b481cd9f90bd5fa1b5ba746b (patch) | |
tree | a039b42511ec25fc96827f5bb894270965624a05 /fs/cifs/cifsglob.h | |
parent | e598d1d8fb512c7a4d86c729cdca30e87fe7cfc9 (diff) | |
download | linux-fsl-qoriq-28e11bd86d63ce18b481cd9f90bd5fa1b5ba746b.tar.xz |
cifs: add new fields to cifs_ses to track requested security flavor
Currently we have the overrideSecFlg field, but it's quite cumbersome
to work with. Add some new fields that will eventually supercede it.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 82ba4b9..87d92e3 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -712,6 +712,8 @@ struct cifs_ses { char *password; struct session_key auth_key; struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */ + enum securityEnum sectype; /* what security flavor was specified? */ + bool sign; /* is signing required? */ bool need_reconnect:1; /* connection reset, uid now invalid */ #ifdef CONFIG_CIFS_SMB2 __u16 session_flags; |