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 /include/rpc/auth_unix.h | |
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 'include/rpc/auth_unix.h')
-rw-r--r-- | include/rpc/auth_unix.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rpc/auth_unix.h b/include/rpc/auth_unix.h index 08e1569..b005bac 100644 --- a/include/rpc/auth_unix.h +++ b/include/rpc/auth_unix.h @@ -60,10 +60,10 @@ struct authunix_parms { u_long aup_time; char *aup_machname; - uid_t aup_uid; - gid_t aup_gid; + u_int aup_uid; + u_int aup_gid; u_int aup_len; - gid_t *aup_gids; + u_int *aup_gids; }; #define authsys_parms authunix_parms |