summaryrefslogtreecommitdiff
path: root/sandbox-solaris.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2017-06-09 14:43:47 +1000
committerDamien Miller <djm@mindrot.org>2017-06-09 14:44:43 +1000
commitce9134260b9b1247e2385a1afed00c26112ba479 (patch)
treee6f79035be7bb3f999b2b0b02084094e8756318b /sandbox-solaris.c
parente0f609c8a2ab940374689ab8c854199c3c285a76 (diff)
drop two more privileges in the Solaris sandbox
Drop PRIV_DAX_ACCESS and PRIV_SYS_IB_INFO. Patch from huieying.lee AT oracle.com via bz#2723
Diffstat (limited to 'sandbox-solaris.c')
-rw-r--r--sandbox-solaris.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sandbox-solaris.c b/sandbox-solaris.c
index 343a01022..56ddb9a99 100644
--- a/sandbox-solaris.c
+++ b/sandbox-solaris.c
@@ -62,6 +62,12 @@ ssh_sandbox_init(struct monitor *monitor)
62#ifdef PRIV_NET_ACCESS 62#ifdef PRIV_NET_ACCESS
63 priv_delset(box->pset, PRIV_NET_ACCESS) != 0 || 63 priv_delset(box->pset, PRIV_NET_ACCESS) != 0 ||
64#endif 64#endif
65#ifdef PRIV_DAX_ACCESS
66 priv_delset(box->pset, PRIV_DAX_ACCESS) != 0 ||
67#endif
68#ifdef PRIV_SYS_IB_INFO
69 priv_delset(box->pset, PRIV_SYS_IB_INFO) != 0 ||
70#endif
65 priv_delset(box->pset, PRIV_PROC_EXEC) != 0 || 71 priv_delset(box->pset, PRIV_PROC_EXEC) != 0 ||
66 priv_delset(box->pset, PRIV_PROC_FORK) != 0 || 72 priv_delset(box->pset, PRIV_PROC_FORK) != 0 ||
67 priv_delset(box->pset, PRIV_PROC_INFO) != 0 || 73 priv_delset(box->pset, PRIV_PROC_INFO) != 0 ||