[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [3.0] 4dccc4f Be consistent about what environment we test the compiled VCL in.
From:       Tollef Fog Heen <tfheen () varnish-cache ! org>
Date:       2012-05-24 12:51:12
Message-ID: E1SXXVY-0004oK-7N () project ! varnish-software ! com
[Download RAW message or body]

commit 4dccc4fbf7218b83dc62af21b269c98c5e6386c8
Author: Poul-Henning Kamp <phk@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",

_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic