Subject: Re: CVS commit: src/sys
To: None <dsl@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 07/06/2007 17:33:16
> Module Name: src
> Committed By: dsl
> Date: Sat Jun 30 13:32:14 UTC 2007
>
> Modified Files:
> src/sys/kern: init_sysctl.c kern_auth.c kern_prot.c
> src/sys/sys: kauth.h
>
> Log Message:
> Add a flags parameter to kauth_cred_get/setgroups() so that sys_set/setgroups
> can copy directly to/from userspace.
> Avoids exposing the implementation of the group list as an array to code
> outside kern_auth.c.
> compat code and man page need updating.
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.101 -r1.102 src/sys/kern/init_sysctl.c
> cvs rdiff -r1.48 -r1.49 src/sys/kern/kern_auth.c
> cvs rdiff -r1.102 -r1.103 src/sys/kern/kern_prot.c
> cvs rdiff -r1.38 -r1.39 src/sys/sys/kauth.h
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
- please use a correct type for UIO_*. ie. enum uio_seg.
- the check in kauth_cred_setgroups seems inverted.
YAMAMOTO Takashi