diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-01-07 15:42:02 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-02-10 14:30:50 +0100 |
commit | dc5ddce956660247e004a4b20a26b7d137ab1644 (patch) | |
tree | 8e067bfb6f1fc84adf76a9370e35fbad77dd4636 /net/sunrpc/sysctl.c | |
parent | Merge branch 'for-linus' of git://neil.brown.name/md (diff) | |
download | linux-dc5ddce956660247e004a4b20a26b7d137ab1644.tar.xz linux-dc5ddce956660247e004a4b20a26b7d137ab1644.zip |
sunrpc: parse and return errors reported by gssd
The kernel currently ignores any error code sent by gssd and always
considers it to be -EACCES. In order to better handle the situation of
an expired KRB5 TGT, the kernel needs to be able to parse and deal with
the errors that gssd sends. Aside from -EACCES the only error we care
about is -EKEYEXPIRED, which we're using to indicate that the upper
layers should retry the call a little later.
To maintain backward compatibility with older gssd's, any error other
than -EKEYEXPIRED is interpreted as -EACCES.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/sysctl.c')
0 files changed, 0 insertions, 0 deletions