Lines Matching refs:child_pid
74 pid_t child_pid; member
90 box->child_pid = 0; in ssh_sandbox_init()
113 ssh_sandbox_parent(struct ssh_sandbox *box, pid_t child_pid, in ssh_sandbox_parent() argument
120 debug3("%s: wait for child %ld", __func__, (long)child_pid); in ssh_sandbox_parent()
121 box->child_pid = child_pid; in ssh_sandbox_parent()
126 debug3("%s: child %ld ready", __func__, (long)child_pid); in ssh_sandbox_parent()
137 if (ioctl(box->systrace_fd, STRIOCATTACH, &child_pid) == -1) in ssh_sandbox_parent()
139 box->systrace_fd, child_pid, strerror(errno)); in ssh_sandbox_parent()
150 policy.strp_pid = box->child_pid; in ssh_sandbox_parent()
176 debug3("%s: start child %ld", __func__, (long)child_pid); in ssh_sandbox_parent()
193 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) in ssh_sandbox_parent_preauth() argument
195 ssh_sandbox_parent(box, child_pid, preauth_policy); in ssh_sandbox_parent_preauth()