Home
last modified time | relevance | path

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

/src/crypto/openssh/openbsd-compat/
H A Dbsd-pselect.c49 static int notify_pipe[2]; /* 0 = read end, 1 = write end */ variable
74 if (pipe(notify_pipe) == -1) { in pselect_notify_setup()
76 notify_pipe[0] = notify_pipe[1] = -1; in pselect_notify_setup()
79 pselect_set_nonblock(notify_pipe[0]); in pselect_notify_setup()
80 pselect_set_nonblock(notify_pipe[1]); in pselect_notify_setup()
82 debug3_f("pipe0 %d pipe1 %d", notify_pipe[0], notify_pipe[1]); in pselect_notify_setup()
88 if (notify_pipe[1] != -1) in pselect_notify_parent()
89 (void)write(notify_pipe[1], "", 1); in pselect_notify_parent()
94 if (notify_pipe[0] != -1) in pselect_notify_prepare()
95 FD_SET(notify_pipe[0], readset); in pselect_notify_prepare()
[all …]
/src/crypto/openssh/
H A Dsshd.c605 drop_connection(int sock, int startups, int notify_pipe) in drop_connection() argument
630 srclimit_check_allow(sock, notify_pipe) == 1) in drop_connection()