Home
last modified time | relevance | path

Searched refs:notify_pipe (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/lib/fm/libldom/sparc/
H A Dldom_utils.c38 notify_setup(int *notify_pipe) in notify_setup() argument
40 if (pipe(notify_pipe) < 0) { in notify_setup()
43 (void) fcntl(notify_pipe[1], F_SETFL, O_NONBLOCK); in notify_setup()
H A Dldmsvcs_utils.c106 int notify_pipe[2]; member
433 (void) write(pollbase.notify_pipe[0], "1", 1); in poller_shutdown()
489 pipe_fd->fd = pollbase.notify_pipe[1]; /* notification pipe */ in poller_loop()
536 (void) notify_setup(pollbase.notify_pipe); in poller_init()
/titanic_44/usr/src/cmd/ssh/sshd/
H A Dserverloop.c108 static int notify_pipe[2]; variable
112 if (pipe(notify_pipe) < 0) { in notify_setup()
114 } else if ((fcntl(notify_pipe[0], F_SETFD, FD_CLOEXEC) == -1) || in notify_setup()
115 (fcntl(notify_pipe[1], F_SETFD, FD_CLOEXEC) == -1)) { in notify_setup()
117 (void) close(notify_pipe[0]); in notify_setup()
118 (void) close(notify_pipe[1]); in notify_setup()
120 set_nonblock(notify_pipe[0]); in notify_setup()
121 set_nonblock(notify_pipe[1]); in notify_setup()
124 notify_pipe[0] = -1; /* read end */ in notify_setup()
125 notify_pipe[1] = -1; /* write end */ in notify_setup()
[all …]
/titanic_44/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c91 extern int notify_pipe[2];
512 create_notify_pipe(int *notify_pipe, char **error) in create_notify_pipe() argument
515 if (pipe(notify_pipe) < 0) { in create_notify_pipe()
521 DPRINT((dfile, "Pipe created in:%d out:%d\n", notify_pipe[0], in create_notify_pipe()
522 notify_pipe[1])); in create_notify_pipe()
524 if (!set_fdfl(notify_pipe[0], O_NONBLOCK, FL_UNSET) || in create_notify_pipe()
525 !set_fdfl(notify_pipe[1], O_NONBLOCK, FL_SET)) { in create_notify_pipe()
528 (void) close(notify_pipe[0]); in create_notify_pipe()
529 (void) close(notify_pipe[1]); in create_notify_pipe()
788 if (create_notify_pipe(notify_pipe, error)) { in auditd_plugin_open()
H A Dtransport.c89 int notify_pipe[2]; /* notif. pipe - receiving thread */ variable
976 pipe_fd->fd = notify_pipe[1]; in recv_record()
1244 int pipe_in = notify_pipe[0]; in init_poll()
1272 int pipe_in = notify_pipe[0]; in reset_transport()
1399 (void) close(notify_pipe[0]); in do_cleanup()
1400 (void) close(notify_pipe[1]); in do_cleanup()