Lines Matching defs:box
54 struct ssh_sandbox *box;
61 box = xcalloc(1, sizeof(*box));
62 box->monitor = monitor;
63 box->child_pid = 0;
65 return box;
69 ssh_sandbox_child(struct ssh_sandbox *box)
98 if (cap_rights_limit(box->monitor->m_recvfd, &rights) < 0 &&
102 if (cap_rights_limit(box->monitor->m_log_sendfd, &rights) < 0 &&
111 ssh_sandbox_parent_finish(struct ssh_sandbox *box)
113 free(box);
118 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
120 box->child_pid = child_pid;