summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2010-01-09 23:36:51 +0000
committerbrooks <brooks@FreeBSD.org>2010-01-09 23:36:51 +0000
commit0b0c77182599230a7babe401edff4721ba447efd (patch)
treead6401852161cc68e5f46f314228a85c36c7c71e /lib
parent2f5a1a8355eb7616a9382fc7efccb3b5b917ff40 (diff)
downloadFreeBSD-src-0b0c77182599230a7babe401edff4721ba447efd.zip
FreeBSD-src-0b0c77182599230a7babe401edff4721ba447efd.tar.gz
Use the correct types to store uids and gids in the credential cache.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/rpc/svc_auth_des.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/rpc/svc_auth_des.c b/lib/libc/rpc/svc_auth_des.c
index 84f1e19..de4d1b4 100644
--- a/lib/libc/rpc/svc_auth_des.c
+++ b/lib/libc/rpc/svc_auth_des.c
@@ -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 */
};
/*
OpenPOWER on IntegriCloud