ovs-ctl: Add support for glibc malloc debugging.
[sliver-openvswitch.git] / utilities / ovs-lib.in
index 01f4ded..b787b1c 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 "$@"
+            ;;
         '')
             ;;
         *)