[3.0] 4dccc4f Be consistent about what environment we test the compiled VCL in.
Tollef Fog Heen
tfheen at varnish-cache.org
Thu May 24 14:47:44 CEST 2012
commit 4dccc4fbf7218b83dc62af21b269c98c5e6386c8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Sat Apr 28 07:16:33 2012 +0000
Be consistent about what environment we test the compiled VCL in.
diff --git a/bin/varnishd/mgt_vcc.c b/bin/varnishd/mgt_vcc.c
index 9638783..b39c245 100644
--- a/bin/varnishd/mgt_vcc.c
+++ b/bin/varnishd/mgt_vcc.c
@@ -190,7 +190,9 @@ run_dlopen(void *priv)
of = priv;
- /* Try to load the object into the management process */
+ mgt_sandbox();
+
+ /* Try to load the object into this sub-process */
if ((dlh = dlopen(of, RTLD_NOW | RTLD_LOCAL)) == NULL) {
fprintf(stderr,
"Compiled VCL program failed to load:\n %s\n",
More information about the varnish-commit
mailing list