From: Benjamin Kaduk Date: Mon, 28 May 2018 03:54:01 +0000 (-0500) Subject: libafsauthent: export additional xdr_ functions X-Git-Tag: upstream/1.8.1_pre2^2~18 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0bf4ae5f7630fbb8e3bfb8e4dab19ad3e617ed6a;p=packages%2Fo%2Fopenafs.git libafsauthent: export additional xdr_ functions Formally, we need to use xdr_free to deallocate storage for RPC output variables, in case the XDR stack uses a different allocator than the standard application allocator. Some types have non-autogenerated wrappers exposed already (e.g., token_FreeSet()), but for a handful of the base ptint types we need to expose the xdr routines in order for a safe way to deallocate their storage to be available. Reviewed-on: https://gerrit.openafs.org/13131 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot (cherry picked from commit c12cfd7331727142cb928e08ec32a708d0cfd1e9) Change-Id: Iea3b0bd9fdb373020b41c2bcbf1ebbde222114a8 Reviewed-on: https://gerrit.openafs.org/13192 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Joe Gorse Reviewed-by: Andrew Deason Reviewed-by: Marcio Brito Barbosa Reviewed-by: Benjamin Kaduk --- diff --git a/src/libafsauthent/afsauthent.def b/src/libafsauthent/afsauthent.def index 5395d0a6d..3eb1e25ae 100644 --- a/src/libafsauthent/afsauthent.def +++ b/src/libafsauthent/afsauthent.def @@ -206,3 +206,6 @@ EXPORTS ugen_ClientInitCell @205 ugen_ClientInitFlags @206 ugen_ClientInitServer @207 + xdr_idlist @208 + xdr_namelist @209 + xdr_prlist @210 diff --git a/src/libafsauthent/libafsauthent.la.sym b/src/libafsauthent/libafsauthent.la.sym index 67128b7a1..83aa04ee8 100644 --- a/src/libafsauthent/libafsauthent.la.sym +++ b/src/libafsauthent/libafsauthent.la.sym @@ -151,3 +151,6 @@ ugen_ClientInit ugen_ClientInitCell ugen_ClientInitFlags ugen_ClientInitServer +xdr_idlist +xdr_namelist +xdr_prlist