[0/4] sunrpc symbol cleanups

Message ID cover.1594062056.git.fweimer@redhat.com
Headers
Series sunrpc symbol cleanups |

Message

Florian Weimer July 6, 2020, 7:03 p.m. UTC
  This series clears up a few unintentional symbol exports.

What's left are the the NSS RPC functions, which do not have full
equivalents in libtirpc as of today (only some of these functions are
implemented there).

Tested with and without --enable-obsolete-rpc --enable-obsolete-nsl, and
built with build-many-glibcs.py.

Florian Weimer (4):
  sunrpc: Turn clnt_sperrno into a libc_hidden_nolink_sunrpc symbol
  sunrpc: Do not export key handling hooks by default
  sunrpc: Do not export getrpcport by default
  nss: Remove cryptographic key support from nss_files, nss_nis,
    nss_nisplus

 NEWS                                |   6 +
 nis/Makefile                        |   2 +-
 nis/nss_nis/nis-publickey.c         | 234 ----------------
 nis/nss_nisplus/nisplus-publickey.c | 411 ----------------------------
 nss/Makefile                        |   3 +-
 nss/nss_files/files-key.c           | 113 --------
 sunrpc/clnt_perr.c                  |   4 +
 sunrpc/getrpcport.c                 |   5 +
 sunrpc/key_call.c                   |  17 +-
 9 files changed, 32 insertions(+), 763 deletions(-)
 delete mode 100644 nis/nss_nis/nis-publickey.c
 delete mode 100644 nis/nss_nisplus/nisplus-publickey.c
 delete mode 100644 nss/nss_files/files-key.c
  

Comments

Carlos O'Donell July 7, 2020, 1:03 p.m. UTC | #1
On 7/6/20 3:03 PM, Florian Weimer wrote:
> This series clears up a few unintentional symbol exports.

This is acceptable for glibc 2.32.

Please commit this once you get review (looks like HJ reviewed this).

 
> What's left are the the NSS RPC functions, which do not have full
> equivalents in libtirpc as of today (only some of these functions are
> implemented there).
> 
> Tested with and without --enable-obsolete-rpc --enable-obsolete-nsl, and
> built with build-many-glibcs.py.
> 
> Florian Weimer (4):
>   sunrpc: Turn clnt_sperrno into a libc_hidden_nolink_sunrpc symbol
>   sunrpc: Do not export key handling hooks by default
>   sunrpc: Do not export getrpcport by default
>   nss: Remove cryptographic key support from nss_files, nss_nis,
>     nss_nisplus
> 
>  NEWS                                |   6 +
>  nis/Makefile                        |   2 +-
>  nis/nss_nis/nis-publickey.c         | 234 ----------------
>  nis/nss_nisplus/nisplus-publickey.c | 411 ----------------------------
>  nss/Makefile                        |   3 +-
>  nss/nss_files/files-key.c           | 113 --------
>  sunrpc/clnt_perr.c                  |   4 +
>  sunrpc/getrpcport.c                 |   5 +
>  sunrpc/key_call.c                   |  17 +-
>  9 files changed, 32 insertions(+), 763 deletions(-)
>  delete mode 100644 nis/nss_nis/nis-publickey.c
>  delete mode 100644 nis/nss_nisplus/nisplus-publickey.c
>  delete mode 100644 nss/nss_files/files-key.c
>