[experimental-ims] e0ee2a2 Add file_read to the privilege set we need on Solaris

Geoff Simmons geoff at varnish-cache.org
Mon Jan 9 21:52:01 CET 2012


commit e0ee2a2e69654a9df74aaf3dcadc9639659cf42b
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Wed Sep 21 13:52:03 2011 +0200

    Add file_read to the privilege set we need on Solaris
    
    Fixes: #912

diff --git a/bin/varnishd/mgt_sandbox.c b/bin/varnishd/mgt_sandbox.c
index 0299cfd..a5eee2f 100644
--- a/bin/varnishd/mgt_sandbox.c
+++ b/bin/varnishd/mgt_sandbox.c
@@ -98,6 +98,7 @@ mgt_sandbox(void)
 		 * silently ignore any errors if it doesn't exist
 		 */
 		priv_addset(minimal, "net_access");
+		priv_addset(minimal, "file_read");
 
 #define SETPPRIV(which, set)						\
 		if (setppriv(PRIV_SET, which, set))			\



More information about the varnish-commit mailing list