Lines Matching defs:box
53 struct ssh_sandbox *box;
60 box = xcalloc(1, sizeof(*box));
61 box->monitor = monitor;
62 box->child_pid = 0;
64 return box;
68 ssh_sandbox_child(struct ssh_sandbox *box)
97 if (cap_rights_limit(box->monitor->m_recvfd, &rights) < 0 &&
101 if (cap_rights_limit(box->monitor->m_log_sendfd, &rights) < 0 &&
110 ssh_sandbox_parent_finish(struct ssh_sandbox *box)
112 free(box);
117 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
119 box->child_pid = child_pid;