From c03d64df191c8628a1dc46d074dfea80a51fbb3c Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 31 May 1998 19:07:47 +0000 Subject: NetBSD has a comment that Solaris 2.5 doesn't do verifiers correctly, we have weakened this test already for Digital Unix, so it may be enough for Solaris. It needs to be checked again. Obtained from: NetBSD --- sys/nfsserver/nfs_serv.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/nfsserver') diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c index 4298c3cb11a9..e11899fbbcd2 100644 --- a/sys/nfsserver/nfs_serv.c +++ b/sys/nfsserver/nfs_serv.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_serv.c 8.8 (Berkeley) 7/31/95 - * $Id: nfs_serv.c,v 1.63 1998/05/31 17:27:47 peter Exp $ + * $Id: nfs_serv.c,v 1.64 1998/05/31 17:54:18 peter Exp $ */ /* @@ -2557,6 +2557,9 @@ nfsrv_readdir(nfsd, slp, procp, mrq) nqsrv_getl(vp, ND_READ); if (v3) { error = getret = VOP_GETATTR(vp, &at, cred, procp); + /* + * XXX This check may be too strict for Solaris 2.5 clients. + */ if (!error && toff && verf && verf != at.va_filerev) error = NFSERR_BAD_COOKIE; } @@ -2815,6 +2818,9 @@ nfsrv_readdirplus(nfsd, slp, procp, mrq) return (0); } error = getret = VOP_GETATTR(vp, &at, cred, procp); + /* + * XXX This check may be too strict for Solaris 2.5 clients. + */ if (!error && toff && verf && verf != at.va_filerev) error = NFSERR_BAD_COOKIE; if (!error) { -- cgit v1.3