diff options
author | pfg <pfg@FreeBSD.org> | 2012-10-04 04:15:18 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2012-10-04 04:15:18 +0000 |
commit | 322c7845daaf5e5e0b96fabc9be3aef6573373db (patch) | |
tree | 2cf66142fc4c43a21adf47bce41c08fbc273ddce /lib/libc/rpc/svc_auth_unix.c | |
parent | 78ead1fc05f7b05f6c80890e0f31ec772ad76487 (diff) | |
download | FreeBSD-src-322c7845daaf5e5e0b96fabc9be3aef6573373db.zip FreeBSD-src-322c7845daaf5e5e0b96fabc9be3aef6573373db.tar.gz |
rpc: convert all uid and gid variables to u_int.
After further discussion, instead of pretending to use
uid_t and gid_t as upstream Solaris and linux try to, we
are better using u_int, which is in fact what the code
can handle and best approaches the range of values used
by uid and gid.
Discussed with: bde
Reviewed by: bde
Diffstat (limited to 'lib/libc/rpc/svc_auth_unix.c')
-rw-r--r-- | lib/libc/rpc/svc_auth_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/svc_auth_unix.c b/lib/libc/rpc/svc_auth_unix.c index f889d81..20d4ecc 100644 --- a/lib/libc/rpc/svc_auth_unix.c +++ b/lib/libc/rpc/svc_auth_unix.c @@ -68,7 +68,7 @@ _svcauth_unix(rqst, msg) struct area { struct authunix_parms area_aup; char area_machname[MAX_MACHINE_NAME+1]; - gid_t area_gids[NGRPS]; + u_int area_gids[NGRPS]; } *area; u_int auth_len; size_t str_len, gid_len; |