Subject: CVS commit: [netbsd-3] src/sys/nfs
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 12/15/2005 20:22:16
Module Name: src
Committed By: tron
Date: Thu Dec 15 20:22:16 UTC 2005
Modified Files:
src/sys/nfs [netbsd-3]: nfs_socket.c
Log Message:
Pull up following revision(s) (requested by christos in ticket #1055):
sys/nfs/nfs_socket.c: revision 1.115 via patch
Convert from nfs error values to regular errno's. Although most values of
nfs errors are chosen to be the same as errno, some of them are not and
it is better for portability to do the conversion anyway. Also a server
can return a bad error number that can cause the server to crash, because
it can have the high bits that are used internally set. This was the case
with amd. Finally nfs_request() should return a valid errno, because we
can return a bogus value to userland. Thanks to rpaulo for debugging this.
To generate a diff of this commit:
cvs rdiff -r1.112.2.1 -r1.112.2.2 src/sys/nfs/nfs_socket.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.