Subject: CVS commit: [elad-kernelauth] src/sys/nfs
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 03/12/2006 00:07:43
Module Name:	src
Committed By:	elad
Date:		Sun Mar 12 00:07:43 UTC 2006

Modified Files:
	src/sys/nfs [elad-kernelauth]: nfs.h nfs_serv.c

Log Message:
Get rid of NFSW_SAMECRED() that uses memcmp() to compare two credentials,
and use a new nfsrv_samecred(), using kauth(9).

Note that the NFSW_SAMECRED() macro used to check nd_flag of both
descriptors for NB_KERBAUTH too; we don't do that. [documented]

Based on code in FreeBSD, thanks to Jeff Roberson.


To generate a diff of this commit:
cvs rdiff -r1.55.8.1 -r1.55.8.2 src/sys/nfs/nfs.h
cvs rdiff -r1.101.4.2 -r1.101.4.3 src/sys/nfs/nfs_serv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.