summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-11-05 16:01:48 -0500
committerJ. Bruce Fields <bfields@redhat.com>2012-11-07 19:40:05 -0500
commit12fc3e92d4b18b4e99af624586e1696479ff36ce (patch)
treec3e43c4389da8bbbf8de90f044773fc236edfc9c /fs/nfsd/state.h
parent57725155dc1b8c78b7a96886d5cdc69dc89e9c54 (diff)
nfsd4: backchannel should use client-provided security flavor
For now this only adds support for AUTH_NULL. (Previously we assumed AUTH_UNIX.) We'll also need AUTH_GSS, which is trickier. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index 0fd342a2174..0498053b8f0 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -151,6 +151,7 @@ struct nfsd4_channel_attrs {
};
struct nfsd4_cb_sec {
+ u32 flavor; /* (u32)(-1) used to mean "no valid flavor" */
u32 uid;
u32 gid;
};