Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Use NGROUPS_MAX (which is posix) instead of the old ...



details:   https://anonhg.NetBSD.org/src/rev/172bc08d3bdf
branches:  trunk
changeset: 755254:172bc08d3bdf
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat May 29 23:18:39 2010 +0000

description:
Use NGROUPS_MAX (which is posix) instead of the old NGROUPS.
This is another patch I've been sitting on for years.

diffstat:

 sys/sys/ucred.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1a14a960a3d9 -r 172bc08d3bdf sys/sys/ucred.h
--- a/sys/sys/ucred.h   Sat May 29 23:17:53 2010 +0000
+++ b/sys/sys/ucred.h   Sat May 29 23:18:39 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucred.h,v 1.34 2007/08/29 10:32:01 pooka Exp $ */
+/*     $NetBSD: ucred.h,v 1.35 2010/05/29 23:18:39 dholland Exp $      */
 
 /*
  * Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@
        uid_t           cr_uid;                 /* effective user id */
        gid_t           cr_gid;                 /* effective group id */
        short           cr_ngroups;             /* number of groups */
-       gid_t           cr_groups[NGROUPS];     /* groups */
+       gid_t           cr_groups[NGROUPS_MAX]; /* groups */
 };
 
 #endif /* !_SYS_UCRED_H_ */



Home | Main Index | Thread Index | Old Index