summaryrefslogtreecommitdiff
path: root/sunrpc/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/rpc')
-rw-r--r--sunrpc/rpc/auth.h5
-rw-r--r--sunrpc/rpc/auth_unix.h24
2 files changed, 16 insertions, 13 deletions
diff --git a/sunrpc/rpc/auth.h b/sunrpc/rpc/auth.h
index 39aa0f7bcb..fff60baccd 100644
--- a/sunrpc/rpc/auth.h
+++ b/sunrpc/rpc/auth.h
@@ -155,8 +155,9 @@ extern struct opaque_auth _null_auth;
* int len;
* int *aup_gids;
*/
-extern AUTH *authunix_create __P ((char *__machname, int __uid, int __gid,
- int __len, int *__aup_gids));
+extern AUTH *authunix_create __P ((char *__machname, __uid_t __uid,
+ __gid_t __gid, int __len,
+ __gid_t *__aup_gids));
extern AUTH *authunix_create_default __P ((void));
extern AUTH *authnone_create __P ((void));
extern AUTH *authdes_create();
diff --git a/sunrpc/rpc/auth_unix.h b/sunrpc/rpc/auth_unix.h
index 3fb711894e..32d8d0aa35 100644
--- a/sunrpc/rpc/auth_unix.h
+++ b/sunrpc/rpc/auth_unix.h
@@ -58,14 +58,15 @@ __BEGIN_DECLS
/*
* Unix style credentials.
*/
-struct authunix_parms {
- u_long aup_time;
- char *aup_machname;
- int aup_uid;
- int aup_gid;
- u_int aup_len;
- int *aup_gids;
-};
+struct authunix_parms
+ {
+ u_long aup_time;
+ char *aup_machname;
+ __uid_t aup_uid;
+ __gid_t aup_gid;
+ u_int aup_len;
+ __gid_t *aup_gids;
+ };
extern bool_t xdr_authunix_parms __P ((XDR *__xdrs,
struct authunix_parms *__p));
@@ -75,9 +76,10 @@ extern bool_t xdr_authunix_parms __P ((XDR *__xdrs,
* then the body of the response verifier encapsulates the following structure;
* again it is serialized in the obvious fashion.
*/
-struct short_hand_verf {
- struct opaque_auth new_cred;
-};
+struct short_hand_verf
+ {
+ struct opaque_auth new_cred;
+ };
__END_DECLS