nsswitch: explicitly mark NSS_STATUS _nss_winbind_* symbols as _PUBLIC_ on Linux
authorStefan Metzmacher <metze@samba.org>
Thu, 1 Jul 2021 10:08:16 +0000 (12:08 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 30 Nov 2021 15:53:34 +0000 (15:53 +0000)
commit419ca68de0c9ed02612e64717963d133833061e7
tree3672bfa078cb8e50b3e44fdfd7524801b357d1f5
parent3f9948bd6dc16e7cf488277fab6837f545e94432
nsswitch: explicitly mark NSS_STATUS _nss_winbind_* symbols as _PUBLIC_ on Linux

The symbols which are used via dlopen()/dlsym() need to be exported,
in future we'll do hide all other symbols.

On other platforms, which are implemented as wrappers above the
Linux implementation, we mark the symbols as _PRIVATE_

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
nsswitch/winbind_nss_linux.c
nsswitch/winbind_nss_linux.h
nsswitch/wins.c
nsswitch/wscript_build