From 0bf4ae5f7630fbb8e3bfb8e4dab19ad3e617ed6a Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Sun, 27 May 2018 22:54:01 -0500 Subject: [PATCH] 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 --- src/libafsauthent/afsauthent.def | 3 +++ src/libafsauthent/libafsauthent.la.sym | 3 +++ 2 files changed, 6 insertions(+) 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 -- 2.39.5