]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sunrpc/svc_authux.c
support: Expose sbindir as support_sbindir_prefix
[thirdparty/glibc.git] / sunrpc / svc_authux.c
index 477ff250221f6296ccd170fd453799a1e2e1bd87..0c6b0242cd5dbdb727cc76f70c6bf54268ee7013 100644 (file)
@@ -6,7 +6,7 @@
  * _svcauth_short uses a shorthand auth to index into a cache of longhand auths.
  * Note: the shorthand has been gutted for efficiency.
  *
- * Copyright (C) 1984, Sun Microsystems, Inc.
+ * Copyright (c) 2010, Oracle America, Inc.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
@@ -18,7 +18,7 @@
  *       copyright notice, this list of conditions and the following
  *       disclaimer in the documentation and/or other materials
  *       provided with the distribution.
- *     * Neither the name of Sun Microsystems, Inc. nor the names of its
+ *     * Neither the name of the "Oracle America, Inc." nor the names of its
  *       contributors may be used to endorse or promote products derived
  *       from this software without specific prior written permission.
  *
@@ -67,8 +67,7 @@ _svcauth_unix (struct svc_req *rqst, struct rpc_msg *msg)
   aup->aup_machname = area->area_machname;
   aup->aup_gids = area->area_gids;
   auth_len = (u_int) msg->rm_call.cb_cred.oa_length;
-  INTUSE(xdrmem_create) (&xdrs, msg->rm_call.cb_cred.oa_base, auth_len,
-                        XDR_DECODE);
+  xdrmem_create (&xdrs, msg->rm_call.cb_cred.oa_base, auth_len, XDR_DECODE);
   buf = XDR_INLINE (&xdrs, auth_len);
   if (buf != NULL)
     {
@@ -106,10 +105,10 @@ _svcauth_unix (struct svc_req *rqst, struct rpc_msg *msg)
          goto done;
        }
     }
-  else if (!INTUSE(xdr_authunix_parms) (&xdrs, aup))
+  else if (!xdr_authunix_parms (&xdrs, aup))
     {
       xdrs.x_op = XDR_FREE;
-      (void) INTUSE(xdr_authunix_parms) (&xdrs, aup);
+      (void) xdr_authunix_parms (&xdrs, aup);
       stat = AUTH_BADCRED;
       goto done;
     }