The branch, v4-0-test has been updated via 53c70b5f77a3b9abaab783590e66278129173d5f (commit) via 54ebd4e353038e86470ad036aa038e18a4296b4b (commit) via da1a9438bd89569077ef1eaa9dc977b5f9d62836 (commit) via 675bab738085cb5a9f17c1f159fbd97c4daafed2 (commit) from 83387ecccfe95b80525bf53c5fc9e945ffee10ec (commit)
http://gitweb.samba.org/?samba.git;a=shortlog;h=v4-0-test - Log ----------------------------------------------------------------- commit 53c70b5f77a3b9abaab783590e66278129173d5f Author: Jelmer Vernooij <[EMAIL PROTECTED]> Date: Wed Feb 20 20:05:51 2008 +0100 Support dlopen(NULL, ...) on HPUX. commit 54ebd4e353038e86470ad036aa038e18a4296b4b Merge: da1a9438bd89569077ef1eaa9dc977b5f9d62836 83387ecccfe95b80525bf53c5fc9e945ffee10ec Author: Jelmer Vernooij <[EMAIL PROTECTED]> Date: Wed Feb 20 19:41:52 2008 +0100 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial commit da1a9438bd89569077ef1eaa9dc977b5f9d62836 Author: Jelmer Vernooij <[EMAIL PROTECTED]> Date: Wed Feb 20 19:40:20 2008 +0100 Make more module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X. commit 675bab738085cb5a9f17c1f159fbd97c4daafed2 Author: Jelmer Vernooij <[EMAIL PROTECTED]> Date: Wed Feb 20 19:34:45 2008 +0100 Make all auth module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X. ----------------------------------------------------------------------- Summary of changes: source/auth/auth_anonymous.c | 2 +- source/auth/auth_developer.c | 2 +- source/auth/auth_sam.c | 2 +- source/auth/auth_unix.c | 2 +- source/auth/auth_winbind.c | 2 +- source/auth/gensec/gensec_gssapi.c | 2 +- source/auth/gensec/gensec_krb5.c | 2 +- source/auth/gensec/schannel.c | 2 +- source/auth/gensec/spnego.c | 2 +- source/auth/ntlmssp/ntlmssp.c | 2 +- source/lib/events/events_select.c | 2 +- source/lib/events/events_standard.c | 2 +- source/lib/replace/dlfcn.c | 2 ++ source/lib/socket/socket_ip.c | 4 ++-- source/lib/socket/socket_unix.c | 2 +- 15 files changed, 17 insertions(+), 15 deletions(-) Changeset truncated at 500 lines: diff --git a/source/auth/auth_anonymous.c b/source/auth/auth_anonymous.c index bcab918..38c13d4 100644 --- a/source/auth/auth_anonymous.c +++ b/source/auth/auth_anonymous.c @@ -63,7 +63,7 @@ static const struct auth_operations anonymous_auth_ops = { .check_password = anonymous_check_password }; -NTSTATUS auth_anonymous_init(void) +_PUBLIC_ NTSTATUS auth_anonymous_init(void) { NTSTATUS ret; diff --git a/source/auth/auth_developer.c b/source/auth/auth_developer.c index 57eb752..0da947b 100644 --- a/source/auth/auth_developer.c +++ b/source/auth/auth_developer.c @@ -186,7 +186,7 @@ static const struct auth_operations fixed_challenge_auth_ops = { .check_password = fixed_challenge_check_password }; -NTSTATUS auth_developer_init(void) +_PUBLIC_ NTSTATUS auth_developer_init(void) { NTSTATUS ret; diff --git a/source/auth/auth_sam.c b/source/auth/auth_sam.c index 0885d82..9189640 100644 --- a/source/auth/auth_sam.c +++ b/source/auth/auth_sam.c @@ -425,7 +425,7 @@ static const struct auth_operations sam_ops = { .check_password = authsam_check_password }; -NTSTATUS auth_sam_init(void) +_PUBLIC_ NTSTATUS auth_sam_init(void) { NTSTATUS ret; diff --git a/source/auth/auth_unix.c b/source/auth/auth_unix.c index 62fb429..20e1987 100644 --- a/source/auth/auth_unix.c +++ b/source/auth/auth_unix.c @@ -829,7 +829,7 @@ static const struct auth_operations unix_ops = { .check_password = authunix_check_password }; -NTSTATUS auth_unix_init(void) +_PUBLIC_ NTSTATUS auth_unix_init(void) { NTSTATUS ret; diff --git a/source/auth/auth_winbind.c b/source/auth/auth_winbind.c index 89ae319..2f8074d 100644 --- a/source/auth/auth_winbind.c +++ b/source/auth/auth_winbind.c @@ -260,7 +260,7 @@ static const struct auth_operations winbind_ops = { .check_password = winbind_check_password }; -NTSTATUS auth_winbind_init(void) +_PUBLIC_ NTSTATUS auth_winbind_init(void) { NTSTATUS ret; diff --git a/source/auth/gensec/gensec_gssapi.c b/source/auth/gensec/gensec_gssapi.c index 87fa476..8361b11 100644 --- a/source/auth/gensec/gensec_gssapi.c +++ b/source/auth/gensec/gensec_gssapi.c @@ -1463,7 +1463,7 @@ static const struct gensec_security_ops gensec_gssapi_sasl_krb5_security_ops = { .priority = GENSEC_GSSAPI }; -NTSTATUS gensec_gssapi_init(void) +_PUBLIC_ NTSTATUS gensec_gssapi_init(void) { NTSTATUS ret; diff --git a/source/auth/gensec/gensec_krb5.c b/source/auth/gensec/gensec_krb5.c index 5cd0de1..d9addca 100644 --- a/source/auth/gensec/gensec_krb5.c +++ b/source/auth/gensec/gensec_krb5.c @@ -775,7 +775,7 @@ static const struct gensec_security_ops gensec_krb5_security_ops = { .priority = GENSEC_KRB5 }; -NTSTATUS gensec_krb5_init(void) +_PUBLIC_ NTSTATUS gensec_krb5_init(void) { NTSTATUS ret; diff --git a/source/auth/gensec/schannel.c b/source/auth/gensec/schannel.c index 42db959..96e3478 100644 --- a/source/auth/gensec/schannel.c +++ b/source/auth/gensec/schannel.c @@ -274,7 +274,7 @@ static const struct gensec_security_ops gensec_schannel_security_ops = { .priority = GENSEC_SCHANNEL }; -NTSTATUS gensec_schannel_init(void) +_PUBLIC_ NTSTATUS gensec_schannel_init(void) { NTSTATUS ret; ret = gensec_register(&gensec_schannel_security_ops); diff --git a/source/auth/gensec/spnego.c b/source/auth/gensec/spnego.c index 782aa44..f593d17 100644 --- a/source/auth/gensec/spnego.c +++ b/source/auth/gensec/spnego.c @@ -1042,7 +1042,7 @@ static const struct gensec_security_ops gensec_spnego_security_ops = { .priority = GENSEC_SPNEGO }; -NTSTATUS gensec_spnego_init(void) +_PUBLIC_ NTSTATUS gensec_spnego_init(void) { NTSTATUS ret; ret = gensec_register(&gensec_spnego_security_ops); diff --git a/source/auth/ntlmssp/ntlmssp.c b/source/auth/ntlmssp/ntlmssp.c index 4f58225..8901488 100644 --- a/source/auth/ntlmssp/ntlmssp.c +++ b/source/auth/ntlmssp/ntlmssp.c @@ -425,7 +425,7 @@ static const struct gensec_security_ops gensec_ntlmssp_security_ops = { }; -NTSTATUS gensec_ntlmssp_init(void) +_PUBLIC_ NTSTATUS gensec_ntlmssp_init(void) { NTSTATUS ret; diff --git a/source/lib/events/events_select.c b/source/lib/events/events_select.c index 3f9eeb5..f4b7e4e 100644 --- a/source/lib/events/events_select.c +++ b/source/lib/events/events_select.c @@ -300,7 +300,7 @@ bool events_select_init(void) } #if _SAMBA_BUILD_ -NTSTATUS s4_events_select_init(void) +_PUBLIC_ NTSTATUS s4_events_select_init(void) { if (!events_select_init()) { return NT_STATUS_INTERNAL_ERROR; diff --git a/source/lib/events/events_standard.c b/source/lib/events/events_standard.c index 5e529d6..7b945b1 100644 --- a/source/lib/events/events_standard.c +++ b/source/lib/events/events_standard.c @@ -602,7 +602,7 @@ bool events_standard_init(void) } #if _SAMBA_BUILD_ -NTSTATUS s4_events_standard_init(void) +_PUBLIC_ NTSTATUS s4_events_standard_init(void) { if (!events_standard_init()) { return NT_STATUS_INTERNAL_ERROR; diff --git a/source/lib/replace/dlfcn.c b/source/lib/replace/dlfcn.c index 4284884..3b109d7 100644 --- a/source/lib/replace/dlfcn.c +++ b/source/lib/replace/dlfcn.c @@ -35,6 +35,8 @@ void *rep_dlopen(const char *name, int flags) #endif { #ifdef HAVE_SHL_LOAD + if (name == NULL) + return PROG_HANDLE; return (void *)shl_load(name, flags, 0); #else return NULL; diff --git a/source/lib/socket/socket_ip.c b/source/lib/socket/socket_ip.c index e61b6d8..bca0aab 100644 --- a/source/lib/socket/socket_ip.c +++ b/source/lib/socket/socket_ip.c @@ -540,7 +540,7 @@ static const struct socket_ops ipv4_ops = { .fn_get_fd = ip_get_fd }; -const struct socket_ops *socket_ipv4_ops(enum socket_type type) +_PUBLIC_ const struct socket_ops *socket_ipv4_ops(enum socket_type type) { return &ipv4_ops; } @@ -977,7 +977,7 @@ static const struct socket_ops ipv6_tcp_ops = { .fn_get_fd = ip_get_fd }; -const struct socket_ops *socket_ipv6_ops(enum socket_type type) +_PUBLIC_ const struct socket_ops *socket_ipv6_ops(enum socket_type type) { return &ipv6_tcp_ops; } diff --git a/source/lib/socket/socket_unix.c b/source/lib/socket/socket_unix.c index cac4b8e..af7d2bb 100644 --- a/source/lib/socket/socket_unix.c +++ b/source/lib/socket/socket_unix.c @@ -414,7 +414,7 @@ static const struct socket_ops unixdom_ops = { .fn_get_fd = unixdom_get_fd }; -const struct socket_ops *socket_unixdom_ops(enum socket_type type) +_PUBLIC_ const struct socket_ops *socket_unixdom_ops(enum socket_type type) { return &unixdom_ops; } -- Samba Shared Repository