Searched refs:pipe_fds (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/cmd/gss/gssd/ |
H A D | gssd.c | 245 int pipe_fds[2]; in daemonize_start() local 253 chdir("/") < 0 || pipe(pipe_fds) < 0) in daemonize_start() 257 write_pipe_fd = pipe_fds[1]; in daemonize_start() 267 (void) close(pipe_fds[1]); in daemonize_start() 269 (void) read(pipe_fds[0], &status, sizeof (status)); in daemonize_start() 273 (void) close(pipe_fds[0]); in daemonize_start()
|
/titanic_50/usr/src/cmd/ssh/sshd/ |
H A D | altprivsep.c | 175 static int pipe_fds[2]; variable 240 if (pipe(pipe_fds) != 0) { in altprivsep_start_monitor() 246 (void) fcntl(pipe_fds[0], F_SETFD, FD_CLOEXEC); in altprivsep_start_monitor() 247 (void) fcntl(pipe_fds[1], F_SETFD, FD_CLOEXEC); in altprivsep_start_monitor() 265 (void) close(pipe_fds[1]); in altprivsep_start_monitor() 266 pipe_fd = pipe_fds[0]; in altprivsep_start_monitor() 296 (void) close(pipe_fds[0]); in altprivsep_start_monitor() 297 pipe_fd = pipe_fds[1]; in altprivsep_start_monitor()
|
H A D | session.c | 565 int fdout, ptyfd, ttyfd, ptymaster, pipe_fds[2]; in do_exec_pty() local 585 if (pipe(pipe_fds) != 0) in do_exec_pty() 588 (void) fcntl(pipe_fds[0], F_SETFD, FD_CLOEXEC); in do_exec_pty() 589 (void) fcntl(pipe_fds[1], F_SETFD, FD_CLOEXEC); in do_exec_pty() 593 (void) close(pipe_fds[0]); in do_exec_pty() 625 close(pipe_fds[1]); in do_exec_pty() 647 (void) close(pipe_fds[1]); in do_exec_pty() 648 (void) read(pipe_fds[0], &pipe_fds[1], sizeof(int)); in do_exec_pty()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd.c | 3736 int pipe_fds[2]; in start_method() local 3740 if (pipe(pipe_fds) < 0) { in start_method() 3747 (void) close(pipe_fds[PE_CONSUMER]); in start_method() 3748 (void) close(pipe_fds[PE_PRODUCER]); in start_method() 3753 (void) close(pipe_fds[PE_PRODUCER]); in start_method() 3754 if ((safe_read(pipe_fds[PE_CONSUMER], &i, sizeof (i)) != 0) || in start_method() 3758 (void) close(pipe_fds[PE_CONSUMER]); in start_method() 3765 (void) close(pipe_fds[PE_CONSUMER]); in start_method() 3773 (void) close(pipe_fds[PE_CONSUMER]); in start_method() 3775 if ((safe_write(pipe_fds[PE_PRODUCER], &i, sizeof (i)) < 0) || in start_method() [all …]
|