diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-04-16 08:25:47 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-04-16 08:25:47 +0000 |
commit | 6319cd74ea27c9405a8097029b3079693a707a22 (patch) | |
tree | 0a6e9511864b5ab6fa165a7d47cbc0e70bd593bf /src/starter | |
parent | cfa42285a450be8d969175f9ac35552a2444bf93 (diff) | |
download | strongswan-6319cd74ea27c9405a8097029b3079693a707a22.tar.bz2 strongswan-6319cd74ea27c9405a8097029b3079693a707a22.tar.xz |
pluto uses the libstrongswan leak detective and a stripped-down version of library_t
Diffstat (limited to 'src/starter')
-rw-r--r-- | src/starter/invokepluto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/starter/invokepluto.c b/src/starter/invokepluto.c index 5e840bac2..30294c968 100644 --- a/src/starter/invokepluto.c +++ b/src/starter/invokepluto.c @@ -266,6 +266,8 @@ starter_start_pluto (starter_config_t *cfg, bool no_fork, bool attach_gdb) } setsid(); sigprocmask(SIG_SETMASK, 0, NULL); + /* disable glibc's malloc checker, conflicts with leak detective */ + setenv("MALLOC_CHECK_", "0", 1); execv(arg[0], arg); plog("can't execv(%s,...): %s", arg[0], strerror(errno)); exit(1); |