Searched refs:systrace_fd (Results 1 – 1 of 1) sorted by relevance
/external/openssh/ |
D | sandbox-systrace.c | 94 int systrace_fd; member 106 box->systrace_fd = -1; in ssh_sandbox_init() 153 if (ioctl(dev_systrace, STRIOCCLONE, &box->systrace_fd) == -1) in ssh_sandbox_parent() 157 debug3("%s: systrace attach, fd=%d", __func__, box->systrace_fd); in ssh_sandbox_parent() 158 if (ioctl(box->systrace_fd, STRIOCATTACH, &child_pid) == -1) in ssh_sandbox_parent() 160 box->systrace_fd, child_pid, strerror(errno)); in ssh_sandbox_parent() 166 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy) == -1) in ssh_sandbox_parent() 168 box->systrace_fd, strerror(errno)); in ssh_sandbox_parent() 172 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy) == -1) in ssh_sandbox_parent() 174 __func__, box->systrace_fd, strerror(errno)); in ssh_sandbox_parent() [all …]
|