added getpwuid_r and initgroups to whitelist
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 3 Mar 2013 08:04:49 +0000 (09:04 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 3 Mar 2013 08:04:49 +0000 (09:04 +0100)
src/libstrongswan/utils/leak_detective.c

index 2b0be16..6bf4d63 100644 (file)
@@ -226,6 +226,8 @@ char *whitelist[] = {
        "setpwent",
        "endpwent",
        "getspnam_r",
+       "getpwuid_r",
+       "initgroups",
        /* ignore dlopen, as we do not dlclose to get proper leak reports */
        "dlopen",
        "dlerror",