Searched refs:ctl_fd (Results 1 – 2 of 2) sorted by relevance
/external/openssh/openbsd-compat/ |
D | port-solaris.c | 146 int r, ctl_fd = -1, stat_fd = -1; in solaris_contract_post_fork_parent() local 176 if ((ctl_fd = open64(ctl_path, O_WRONLY)) < 0) { in solaris_contract_post_fork_parent() 181 if (ct_ctl_abandon(ctl_fd) < 0) { in solaris_contract_post_fork_parent() 186 close(ctl_fd); in solaris_contract_post_fork_parent() 196 if (ctl_fd != -1) in solaris_contract_post_fork_parent() 197 close(ctl_fd); in solaris_contract_post_fork_parent()
|
/external/valgrind/coregrind/ |
D | vgdb-invoker-solaris.c | 83 static int ctl_fd = -1; variable 135 ctl_fd = open(procname, O_WRONLY, 0); in attach() 136 if (ctl_fd < 0) { in attach() 148 ssize_t written = write(ctl_fd, (void *) &ctl, bytes); in attach() 159 written = write(ctl_fd, (void *) &ctl, bytes); in attach() 205 if (ctl_fd != -1) { in detach() 206 close(ctl_fd); in detach() 207 ctl_fd = -1; in detach() 373 assert(ctl_fd != -1); in invoke_agent() 382 ssize_t written = write(ctl_fd, (void *) &ctl, bytes); in invoke_agent()
|