Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 06/23/2007 09:02:13
Module Name:	src
Committed By:	dsl
Date:		Sat Jun 23 09:02:13 UTC 2007

Modified Files:
	src/sys/kern: kern_auth.c
	src/sys/sys: kauth.h

Log Message:
Simplify the interfaces needed for sys_setgroups() and sys_getgroups().
Exposed that the kauth code holds groups in an array, but removes some
of the knowledge of the maximum number of groups.
Allows the syscall code to copyin/out directly to/from the cred structure,
this save a lot of faffing about with malloc/free even when compat code
has to use 16bit groups.


To generate a diff of this commit:
cvs rdiff -r1.47 -r1.48 src/sys/kern/kern_auth.c
cvs rdiff -r1.37 -r1.38 src/sys/sys/kauth.h

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