Lines Matching refs:pset
42 priv_set_t *pset; member
53 box->pset = solaris_basic_privset(); in ssh_sandbox_init()
55 if (box->pset == NULL) { in ssh_sandbox_init()
61 if (priv_delset(box->pset, PRIV_FILE_LINK_ANY) != 0 || in ssh_sandbox_init()
63 priv_delset(box->pset, PRIV_NET_ACCESS) != 0 || in ssh_sandbox_init()
65 priv_delset(box->pset, PRIV_PROC_EXEC) != 0 || in ssh_sandbox_init()
66 priv_delset(box->pset, PRIV_PROC_FORK) != 0 || in ssh_sandbox_init()
67 priv_delset(box->pset, PRIV_PROC_INFO) != 0 || in ssh_sandbox_init()
68 priv_delset(box->pset, PRIV_PROC_SESSION) != 0) { in ssh_sandbox_init()
75 if (priv_delset(box->pset, PRIV_FILE_READ) != 0 || in ssh_sandbox_init()
76 priv_delset(box->pset, PRIV_FILE_WRITE) != 0) { in ssh_sandbox_init()
88 if (setppriv(PRIV_SET, PRIV_PERMITTED, box->pset) != 0 || in ssh_sandbox_child()
89 setppriv(PRIV_SET, PRIV_LIMIT, box->pset) != 0 || in ssh_sandbox_child()
90 setppriv(PRIV_SET, PRIV_INHERITABLE, box->pset) != 0) in ssh_sandbox_child()
97 priv_freeset(box->pset); in ssh_sandbox_parent_finish()
98 box->pset = NULL; in ssh_sandbox_parent_finish()