Subject: CVS commit: [elad-kernelauth] src/sys
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 03/14/2006 02:49:15
Module Name:	src
Committed By:	elad
Date:		Tue Mar 14 02:49:15 UTC 2006

Modified Files:
	src/sys/kern [elad-kernelauth]: kern_auth.c
	src/sys/sys [elad-kernelauth]: kauth.h

Log Message:
Some cleanup...

Add kauth_cred_[sg]etgroups(), and remove kauth_cred_{add,del}group().
Don't sort the groups when adding them; the caller should do this for
us. This maintains same behavior.
And since we're no longer sorting our groups, revert back to the simple
linear search, as suggested by yamt@.


To generate a diff of this commit:
cvs rdiff -r1.1.2.23 -r1.1.2.24 src/sys/kern/kern_auth.c
cvs rdiff -r1.1.2.14 -r1.1.2.15 src/sys/sys/kauth.h

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