Author: brooks Date: Sat Jan 9 23:36:51 2010 New Revision: 201959 URL: http://svn.freebsd.org/changeset/base/201959
Log: Use the correct types to store uids and gids in the credential cache. Modified: head/lib/libc/rpc/svc_auth_des.c Modified: head/lib/libc/rpc/svc_auth_des.c ============================================================================== --- head/lib/libc/rpc/svc_auth_des.c Sat Jan 9 23:36:15 2010 (r201958) +++ head/lib/libc/rpc/svc_auth_des.c Sat Jan 9 23:36:51 2010 (r201959) @@ -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[NGROUPS]; /* cached groups */ + uid_t uid; /* cached uid */ + gid_t gid; /* cached gid */ + int grouplen; /* length of cached groups */ + gid_t groups[NGRPS]; /* cached groups */ }; /* _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"