[master] 9988408 Adjustments to solaris sandbox.
Poul-Henning Kamp
phk at varnish-cache.org
Thu Oct 13 12:01:17 CEST 2011
commit 99884082bdc3c50e586b2826b9ac7d4e46eb8dcf
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Oct 13 10:00:56 2011 +0000
Adjustments to solaris sandbox.
Submitted by: Nils Goroll
diff --git a/bin/varnishd/mgt/mgt_sandbox_solaris.c b/bin/varnishd/mgt/mgt_sandbox_solaris.c
index 715408e..f243938 100644
--- a/bin/varnishd/mgt/mgt_sandbox_solaris.c
+++ b/bin/varnishd/mgt/mgt_sandbox_solaris.c
@@ -220,10 +220,10 @@ mgt_sandbox_solaris_fini(void)
"Child start warning: Waiving privileges failed on %s: errno=%d (%s)", \
#which, errno, strerror(errno));
- SETPPRIV(PRIV_INHERITABLE, inheritable);
- SETPPRIV(PRIV_EFFECTIVE, effective);
- SETPPRIV(PRIV_PERMITTED, permitted);
SETPPRIV(PRIV_LIMIT, permitted);
+ SETPPRIV(PRIV_PERMITTED, permitted);
+ SETPPRIV(PRIV_EFFECTIVE, effective);
+ SETPPRIV(PRIV_INHERITABLE, inheritable);
#undef SETPPRIV
priv_freeset(inheritable);
More information about the varnish-commit
mailing list