svn commit: r201357 - projects/ngroups/sys/security/audit
Brooks Davis
brooks at FreeBSD.org
Thu Dec 31 23:50:46 UTC 2009
Author: brooks
Date: Thu Dec 31 23:50:45 2009
New Revision: 201357
URL: http://svn.freebsd.org/changeset/base/201357
Log:
s/NGROUPS/ngroups_max+1/ in a KASSERT.
Modified:
projects/ngroups/sys/security/audit/audit_arg.c
Modified: projects/ngroups/sys/security/audit/audit_arg.c
==============================================================================
--- projects/ngroups/sys/security/audit/audit_arg.c Thu Dec 31 22:47:17 2009 (r201356)
+++ projects/ngroups/sys/security/audit/audit_arg.c Thu Dec 31 23:50:45 2009 (r201357)
@@ -262,8 +262,8 @@ audit_arg_groupset(gid_t *gidset, u_int
u_int i;
struct kaudit_record *ar;
- KASSERT(gidset_size <= NGROUPS,
- ("audit_arg_groupset: gidset_size > NGROUPS"));
+ KASSERT(gidset_size <= ngroups_max + 1,
+ ("audit_arg_groupset: gidset_size > %d", ngroups_max + 1));
ar = currecord();
if (ar == NULL)
More information about the svn-src-projects
mailing list