diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-08 04:51:28 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-08 04:51:28 +0000 |
commit | a920808b219ce74ae7e5e3f52bcbfe67884c5087 (patch) | |
tree | 0fcf572a9963925f7d9fc209e2c5694de0e43fcd /libc/inet/rpc/auth_unix.c | |
parent | c5ad60615407d6f54807ed52656d962d1dcbbe3e (diff) | |
download | uClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.bz2 uClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/inet/rpc/auth_unix.c')
-rw-r--r-- | libc/inet/rpc/auth_unix.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/inet/rpc/auth_unix.c b/libc/inet/rpc/auth_unix.c index 9c16774fd..87852f36e 100644 --- a/libc/inet/rpc/auth_unix.c +++ b/libc/inet/rpc/auth_unix.c @@ -41,7 +41,11 @@ #define sysconf __sysconf #define getegid __getegid #define geteuid __geteuid +#define getgroups __getgroups +#define gethostname __gethostname #define xdrmem_create __xdrmem_create +#define xdr_authunix_parms __xdr_authunix_parms +#define xdr_opaque_auth __xdr_opaque_auth #define __FORCE_GLIBC #include <features.h> @@ -322,7 +326,7 @@ marshal_new_auth (AUTH *auth) xdrmem_create (xdrs, au->au_marshed, MAX_AUTH_BYTES, XDR_ENCODE); if ((!xdr_opaque_auth (xdrs, &(auth->ah_cred))) || (!xdr_opaque_auth (xdrs, &(auth->ah_verf)))) - perror (_("auth_none.c - Fatal marshalling problem")); + __perror (_("auth_none.c - Fatal marshalling problem")); else au->au_mpos = XDR_GETPOS (xdrs); |