
phk at varnish-cache
Apr 28, 2012, 12:16 AM
Post #1 of 1
(41 views)
Permalink
|
|
[master] f564428 Be consistent about what environment we test the compiled VCL in.
|
|
commit f564428bb480edf3c3d170087a227dee2797bdbb Author: Poul-Henning Kamp <phk [at] FreeBSD> 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", _______________________________________________ varnish-commit mailing list varnish-commit [at] varnish-cache https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
|