[3.0] 0056676 Add file_read to the privilege set we need on Solaris
Tollef Fog Heen
tfheen at varnish-cache.org
Thu Sep 22 14:04:17 CEST 2011
commit 00566769df8606de4bfeac6fac18986b93aaf168
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