Subject: CVS commit: [elad-kernelauth] src/sys/kern
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 03/11/2006 05:08:42
Module Name: src
Committed By: elad
Date: Sat Mar 11 05:08:42 UTC 2006
Modified Files:
src/sys/kern [elad-kernelauth]: kern_auth.c
Log Message:
Get rid of the memcmp() call in kauth_cred_compare(), and just iterate
over the groups in the struct uucred and check each of them with a call
to kauth_cred_ismember_gid().
To generate a diff of this commit:
cvs rdiff -r1.1.2.16 -r1.1.2.17 src/sys/kern/kern_auth.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.