aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2009-08-21 21:50:30 +0000
committerTrond Myklebust <[email protected]>2009-08-24 03:43:57 +0000
commit5eecfde615894dc1c2e3f85b515a96ae2e408fb5 (patch)
tree7bb8e5cb5b54b80181e5a433d71110f244d6037d /security/selinux/hooks.c
parentSUNRPC: Ensure that sunrpc gets initialised before nfs, lockd, etc... (diff)
downloadkernel-5eecfde615894dc1c2e3f85b515a96ae2e408fb5.tar.gz
kernel-5eecfde615894dc1c2e3f85b515a96ae2e408fb5.zip
NFS: Handle a zero-length auth flavor list
Some releases of Linux rpc.mountd (nfs-utils 1.1.4 and later) return an empty auth flavor list if no sec= was specified for the export. This is notably broken server behavior. The new auth flavor list checking added in a recent commit rejects this case. The OpenSolaris client does too. The broken mountd implementation is already widely deployed. To avoid a behavioral regression, the kernel's mount client skips flavor checking (ie reverts to the pre-2.6.32 behavior) if mountd returns an empty flavor list. Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions