svn commit: r201947 - projects/ngroups/lib/libc/rpc
Brooks Davis
brooks at FreeBSD.org
Sat Jan 9 23:07:10 UTC 2010
Author: brooks
Date: Sat Jan 9 23:07:10 2010
New Revision: 201947
URL: http://svn.freebsd.org/changeset/base/201947
Log:
Use proper types to store uid's and gid's.
Modified:
projects/ngroups/lib/libc/rpc/svc_auth_des.c
Modified: projects/ngroups/lib/libc/rpc/svc_auth_des.c
==============================================================================
--- projects/ngroups/lib/libc/rpc/svc_auth_des.c Sat Jan 9 23:06:19 2010 (r201946)
+++ projects/ngroups/lib/libc/rpc/svc_auth_des.c Sat Jan 9 23:07:10 2010 (r201947)
@@ -449,10 +449,10 @@ cache_spot(key, name, timestamp)
#define INVALID -1 /* grouplen, if cache entry is invalid */
struct bsdcred {
- short uid; /* cached uid */
- short gid; /* cached gid */
- short grouplen; /* length of cached groups */
- short groups[NGRPS]; /* cached groups */
+ uid_t uid; /* cached uid */
+ gid_t gid; /* cached gid */
+ int grouplen; /* length of cached groups */
+ gid_t groups[NGRPS]; /* cached groups */
};
/*
More information about the svn-src-projects
mailing list