mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
nsswitch: explicitly mark magic krb5 plugin symbols as _PUBLIC_
The symbols which are used via dlopen()/dlsym() need to be exported, in future we'll do hide all other symbols. 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>
This commit is contained in:
parent
9615395b1f
commit
a663c9648f
@ -431,7 +431,7 @@ static krb5_error_code smb_krb5_adns_locator_lookup(void *private_data,
|
|||||||
#define SMB_KRB5_LOCATOR_SYMBOL_NAME service_locator /* MIT */
|
#define SMB_KRB5_LOCATOR_SYMBOL_NAME service_locator /* MIT */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = {
|
_PUBLIC_ const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = {
|
||||||
.minor_version = 0,
|
.minor_version = 0,
|
||||||
.init = smb_krb5_adns_locator_init,
|
.init = smb_krb5_adns_locator_init,
|
||||||
.fini = smb_krb5_adns_locator_close,
|
.fini = smb_krb5_adns_locator_close,
|
||||||
|
@ -248,13 +248,13 @@ static void winbind_free_string(krb5_context context,
|
|||||||
free(str);
|
free(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
krb5_error_code
|
_PUBLIC_ krb5_error_code
|
||||||
localauth_winbind_initvt(krb5_context context,
|
localauth_winbind_initvt(krb5_context context,
|
||||||
int maj_ver,
|
int maj_ver,
|
||||||
int min_ver,
|
int min_ver,
|
||||||
krb5_plugin_vtable vtable);
|
krb5_plugin_vtable vtable);
|
||||||
|
|
||||||
krb5_error_code
|
_PUBLIC_ krb5_error_code
|
||||||
localauth_winbind_initvt(krb5_context context,
|
localauth_winbind_initvt(krb5_context context,
|
||||||
int maj_ver,
|
int maj_ver,
|
||||||
int min_ver,
|
int min_ver,
|
||||||
|
@ -408,7 +408,7 @@ static krb5_error_code smb_krb5_locator_lookup(void *private_data,
|
|||||||
#define SMB_KRB5_LOCATOR_SYMBOL_NAME service_locator /* MIT */
|
#define SMB_KRB5_LOCATOR_SYMBOL_NAME service_locator /* MIT */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = {
|
_PUBLIC_ const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = {
|
||||||
.minor_version = 0,
|
.minor_version = 0,
|
||||||
.init = smb_krb5_locator_init,
|
.init = smb_krb5_locator_init,
|
||||||
.fini = smb_krb5_locator_close,
|
.fini = smb_krb5_locator_close,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user