[master] f564428 Be consistent about what environment we test the compiled VCL in.
Poul-Henning Kamp
phk at varnish-cache.org
Sat Apr 28 09:16:56 CEST 2012
commit f564428bb480edf3c3d170087a227dee2797bdbb
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/mgt_vcc.c b/bin/varnishd/mgt/mgt_vcc.c
index 98dc4c4..e419261 100644
--- a/bin/varnishd/mgt/mgt_vcc.c
+++ b/bin/varnishd/mgt/mgt_vcc.c
@@ -186,7 +186,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