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:08:38
Module Name:	src
Committed By:	dsl
Date:		Sat Jun 23 09:08:38 UTC 2007

Modified Files:
	src/sys/kern: kern_prot.c
	src/sys/sys: mount.h ucred.h
Added Files:
	src/sys/sys: prot.h

Log Message:
Make sys_getgroups() and sys_setgroups() use the newly added functions
in kern_prot.c in order to simplify the code paths.
NB: the grouplist is not longer sorted - I don't think anything relies
on this (any more) and nfs will use truncated lists where the order of the
entries is important.
Move the external defns for public functios in kern_prot.c into a new
header sys/prot.h (from sys/ucred.h which contains a compat defn that
is exposed to userspace).


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 src/sys/kern/kern_prot.c
cvs rdiff -r1.157 -r1.158 src/sys/sys/mount.h
cvs rdiff -r0 -r1.1 src/sys/sys/prot.h
cvs rdiff -r1.32 -r1.33 src/sys/sys/ucred.h

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