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
This commit is contained in:
parent
e0f609c8a2
commit
ce9134260b
|
@ -61,6 +61,12 @@ ssh_sandbox_init(struct monitor *monitor)
|
|||
if (priv_delset(box->pset, PRIV_FILE_LINK_ANY) != 0 ||
|
||||
#ifdef PRIV_NET_ACCESS
|
||||
priv_delset(box->pset, PRIV_NET_ACCESS) != 0 ||
|
||||
#endif
|
||||
#ifdef PRIV_DAX_ACCESS
|
||||
priv_delset(box->pset, PRIV_DAX_ACCESS) != 0 ||
|
||||
#endif
|
||||
#ifdef PRIV_SYS_IB_INFO
|
||||
priv_delset(box->pset, PRIV_SYS_IB_INFO) != 0 ||
|
||||
#endif
|
||||
priv_delset(box->pset, PRIV_PROC_EXEC) != 0 ||
|
||||
priv_delset(box->pset, PRIV_PROC_FORK) != 0 ||
|
||||
|
|
Loading…
Reference in New Issue