Added AC_GNU_SOURCE to configure.ac to enable struct ucred,

with the goal of fixing a build issue on Fedora 9 that was
introduced in 2.1_rc13.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3434 e7ae566f-a301-0410-adde-c780ea21d3b5
This commit is contained in:
james 2008-10-14 05:21:51 +00:00
parent 9ff2821b57
commit 9a88179e58
3 changed files with 326 additions and 61 deletions

View File

@ -307,6 +307,7 @@ dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_GCC_TRADITIONAL
AC_GNU_SOURCE
if test "${WIN32}" = "yes"; then
AC_ARG_VAR([MAN2HTML], [man2html utility])

View File

@ -201,6 +201,88 @@
fun:main
}
{
<insert a suppression name here>
Memcheck:Addr8
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/libc-2.7.so
obj:/lib/ld-2.7.so
fun:__libc_dlopen_mode
fun:__nss_lookup_function
obj:/lib/libc-2.7.so
fun:getgrnam_r
fun:getgrnam
fun:get_group
fun:do_init_first_time
fun:init_instance
fun:init_instance_handle_signals
fun:tunnel_server_tcp
fun:main
}
{
<insert a suppression name here>
Memcheck:Addr8
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/libc-2.7.so
obj:/lib/ld-2.7.so
fun:__libc_dlopen_mode
fun:__nss_lookup_function
obj:/lib/libc-2.7.so
fun:getgrnam_r
fun:getgrnam
fun:get_group
fun:do_init_first_time
fun:init_instance
fun:init_instance_handle_signals
fun:tunnel_server_udp
fun:main
}
{
<insert a suppression name here>
Memcheck:Addr8
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/libc-2.7.so
obj:/lib/ld-2.7.so
fun:__libc_dlopen_mode
fun:__nss_lookup_function
obj:/lib/libc-2.7.so
fun:getgrnam_r
fun:getgrnam
fun:get_group
fun:management_open
fun:open_management
fun:main
}
{
<insert a suppression name here>
Memcheck:Addr8
@ -227,6 +309,50 @@
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
fun:BN_div
fun:BN_MONT_CTX_set
fun:BN_MONT_CTX_set_locked
obj:/usr/lib/libcrypto.so.0.9.8
fun:RSA_verify
fun:EVP_VerifyFinal
fun:ASN1_item_verify
obj:/usr/lib/libcrypto.so.0.9.8
fun:X509_verify_cert
fun:ssl_verify_cert_chain
fun:ssl3_get_client_certificate
fun:ssl3_accept
fun:ssl3_read_bytes
fun:ssl3_read
obj:/usr/lib/libssl.so.0.9.8
fun:BIO_read
fun:bio_read
fun:tls_process
fun:tls_multi_process
fun:check_tls_dowork
fun:pre_select
fun:multi_process_post
fun:multi_process_incoming_link
fun:multi_tcp_action
}
{
<insert a suppression name here>
Memcheck:Cond
fun:BN_div
fun:BN_MONT_CTX_set
fun:BN_MONT_CTX_set_locked
obj:/usr/lib/libcrypto.so.0.9.8
fun:ssl3_ctx_ctrl
fun:init_ssl
fun:init_instance
fun:init_instance_handle_signals
fun:tunnel_server_tcp
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
@ -242,6 +368,79 @@
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
fun:BN_div
fun:BN_MONT_CTX_set
fun:BN_MONT_CTX_set_locked
obj:/usr/lib/libcrypto.so.0.9.8
obj:/usr/lib/libcrypto.so.0.9.8
fun:RSA_sign
fun:ssl3_send_server_key_exchange
fun:ssl3_accept
fun:ssl3_read_bytes
fun:ssl3_read
obj:/usr/lib/libssl.so.0.9.8
fun:BIO_read
fun:bio_read
fun:tls_process
fun:tls_multi_process
fun:check_tls_dowork
fun:pre_select
fun:multi_process_post
fun:multi_process_incoming_link
fun:multi_tcp_action
fun:tunnel_server_tcp
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
fun:BN_div
fun:BN_MONT_CTX_set
fun:BN_mod_exp_mont
fun:BN_BLINDING_create_param
fun:RSA_setup_blinding
obj:/usr/lib/libcrypto.so.0.9.8
obj:/usr/lib/libcrypto.so.0.9.8
fun:RSA_sign
fun:ssl3_send_server_key_exchange
fun:ssl3_accept
fun:ssl3_read_bytes
fun:ssl3_read
obj:/usr/lib/libssl.so.0.9.8
fun:BIO_read
fun:bio_read
fun:tls_process
fun:tls_multi_process
fun:check_tls_dowork
fun:pre_select
fun:multi_process_post
fun:multi_process_incoming_link
fun:multi_tcp_action
fun:tunnel_server_tcp
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
fun:BN_div
fun:BN_nnmod
fun:BN_mod_inverse
fun:BN_MONT_CTX_set
fun:BN_MONT_CTX_set_locked
obj:/usr/lib/libcrypto.so.0.9.8
fun:ssl3_ctx_ctrl
fun:init_ssl
fun:init_instance
fun:init_instance_handle_signals
fun:tunnel_server_tcp
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
@ -259,6 +458,50 @@
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
fun:BN_mod_inverse
fun:BN_MONT_CTX_set
fun:BN_MONT_CTX_set_locked
obj:/usr/lib/libcrypto.so.0.9.8
fun:RSA_verify
fun:EVP_VerifyFinal
fun:ASN1_item_verify
obj:/usr/lib/libcrypto.so.0.9.8
fun:X509_verify_cert
fun:ssl_verify_cert_chain
fun:ssl3_get_client_certificate
fun:ssl3_accept
fun:ssl3_read_bytes
fun:ssl3_read
obj:/usr/lib/libssl.so.0.9.8
fun:BIO_read
fun:bio_read
fun:tls_process
fun:tls_multi_process
fun:check_tls_dowork
fun:pre_select
fun:multi_process_post
fun:multi_process_incoming_link
fun:multi_tcp_action
}
{
<insert a suppression name here>
Memcheck:Cond
fun:BN_mod_inverse
fun:BN_MONT_CTX_set
fun:BN_MONT_CTX_set_locked
obj:/usr/lib/libcrypto.so.0.9.8
fun:ssl3_ctx_ctrl
fun:init_ssl
fun:init_instance
fun:init_instance_handle_signals
fun:tunnel_server_tcp
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
@ -274,6 +517,62 @@
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
fun:BN_mod_inverse
fun:BN_MONT_CTX_set
fun:BN_MONT_CTX_set_locked
obj:/usr/lib/libcrypto.so.0.9.8
obj:/usr/lib/libcrypto.so.0.9.8
fun:RSA_sign
fun:ssl3_send_server_key_exchange
fun:ssl3_accept
fun:ssl3_read_bytes
fun:ssl3_read
obj:/usr/lib/libssl.so.0.9.8
fun:BIO_read
fun:bio_read
fun:tls_process
fun:tls_multi_process
fun:check_tls_dowork
fun:pre_select
fun:multi_process_post
fun:multi_process_incoming_link
fun:multi_tcp_action
fun:tunnel_server_tcp
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
fun:BN_mod_inverse
fun:BN_MONT_CTX_set
fun:BN_mod_exp_mont
fun:BN_BLINDING_create_param
fun:RSA_setup_blinding
obj:/usr/lib/libcrypto.so.0.9.8
obj:/usr/lib/libcrypto.so.0.9.8
fun:RSA_sign
fun:ssl3_send_server_key_exchange
fun:ssl3_accept
fun:ssl3_read_bytes
fun:ssl3_read
obj:/usr/lib/libssl.so.0.9.8
fun:BIO_read
fun:bio_read
fun:tls_process
fun:tls_multi_process
fun:check_tls_dowork
fun:pre_select
fun:multi_process_post
fun:multi_process_incoming_link
fun:multi_tcp_action
fun:tunnel_server_tcp
fun:main
}
{
<insert a suppression name here>
Memcheck:Cond
@ -717,6 +1016,22 @@
fun:main
}
{
<insert a suppression name here>
Memcheck:Leak
fun:malloc
fun:tsearch
fun:__nss_lookup_function
obj:*
obj:*
fun:getgrnam_r
fun:getgrnam
fun:get_group
fun:management_open
fun:open_management
fun:main
}
{
<insert a suppression name here>
Memcheck:Leak
@ -810,39 +1125,13 @@
fun:__nss_database_lookup
obj:*
obj:*
fun:getpwnam_r
fun:getpwnam
fun:get_user
fun:management_open
fun:open_management
fun:main
}
{
<insert a suppression name here>
Memcheck:Addr8
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/libc-2.7.so
obj:/lib/ld-2.7.so
fun:__libc_dlopen_mode
fun:__nss_lookup_function
obj:/lib/libc-2.7.so
fun:getgrnam_r
fun:getgrnam
fun:get_group
fun:do_init_first_time
fun:init_instance
fun:init_instance_handle_signals
fun:tunnel_server_udp
fun:tunnel_server_tcp
fun:main
}
@ -866,42 +1155,17 @@
{
<insert a suppression name here>
Memcheck:Addr8
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
obj:/lib/ld-2.7.so
Memcheck:Leak
fun:malloc
obj:/lib/libc-2.7.so
obj:/lib/ld-2.7.so
fun:__libc_dlopen_mode
fun:__nss_lookup_function
obj:/lib/libc-2.7.so
fun:getgrnam_r
fun:getgrnam
fun:get_group
fun:__nss_database_lookup
obj:*
obj:*
fun:getpwnam_r
fun:getpwnam
fun:get_user
fun:management_open
fun:open_management
fun:main
}
{
<insert a suppression name here>
Memcheck:Leak
fun:malloc
fun:tsearch
fun:__nss_lookup_function
obj:*
obj:*
fun:getgrnam_r
fun:getgrnam
fun:get_group
fun:management_open
fun:open_management
fun:main
}

View File

@ -1,5 +1,5 @@
dnl define the OpenVPN version
define(PRODUCT_VERSION,[2.1_rc13])
define(PRODUCT_VERSION,[2.1_rc13a])
dnl define the TAP version
define(PRODUCT_TAP_ID,[tap0901])
define(PRODUCT_TAP_WIN32_MIN_MAJOR,[9])