ovs-ctl: Add support for glibc malloc debugging.
[openvswitch] / utilities / ovs-lib.in
index 01f4dedd361c0fddb455bdc771aee3a5014fd40d..b787b1ce139384ce8213dded3fd5b541395e79e0 100644 (file)
@@ -140,6 +140,9 @@ start_daemon () {
                 log_failure_msg "strace not installed, running $daemon without it"
             fi
             ;;
+        glibc)
+            set env MALLOC_CHECK_=2 MALLOC_PERTURB_=165 "$@"
+            ;;
         '')
             ;;
         *)