Permalink
Browse files

Be consistent about what environment we test the compiled VCL in.

  • Loading branch information...
1 parent e441f59 commit 4dccc4fbf7218b83dc62af21b269c98c5e6386c8 @bsdphk bsdphk committed with Tollef Fog Heen Apr 28, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 bin/varnishd/mgt_vcc.c
View
@@ -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",

0 comments on commit 4dccc4f

Please sign in to comment.