whitelist glibc instead of TrouSerS functions
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 10 Sep 2011 08:54:33 +0000 (10:54 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 10 Sep 2011 20:39:55 +0000 (22:39 +0200)
src/libstrongswan/utils/leak_detective.c

index 9205a6a..93cc027 100644 (file)
@@ -204,6 +204,7 @@ char *whitelist[] = {
        "getprotobynumber",
        "getservbyport",
        "getservbyname",
+       "gethostbyname",
        "gethostbyname2",
        "gethostbyname_r",
        "gethostbyname2_r",
@@ -219,6 +220,9 @@ char *whitelist[] = {
        "getaddrinfo",
        "setlocale",
        "getpass",
+       "getpwent_r",
+       "setpwent",
+       "endpwent",
        /* ignore dlopen, as we do not dlclose to get proper leak reports */
        "dlopen",
        "dlerror",
@@ -266,9 +270,6 @@ char *whitelist[] = {
        "gpg_err_init",
        /* gnutls */
        "gnutls_global_init",
-       /* TrouSerS */
-       "Tspi_Context_Create",
-       "Tspi_Context_Connect",
 };