Searched refs:errsock (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/heimdal/appl/rsh/ |
H A D | rsh.c | 79 rsh_loop (int s, int errsock) in rsh_loop() argument 86 init_ivecs(1, errsock != -1); in rsh_loop() 89 if (s >= FD_SETSIZE || (errsock != -1 && errsock >= FD_SETSIZE)) in rsh_loop() 94 if (errsock != -1) { in rsh_loop() 95 FD_SET(errsock, &real_readset); in rsh_loop() 107 ret = select (max(s, errsock) + 1, &readset, NULL, NULL, NULL); in rsh_loop() 126 if (errsock != -1 && FD_ISSET(errsock, &readset)) { in rsh_loop() 127 ret = do_read (errsock, buf, sizeof(buf), ivec_in[1]); in rsh_loop() 131 close (errsock); in rsh_loop() 132 FD_CLR(errsock, &real_readset); in rsh_loop() [all …]
|
H A D | rshd.c | 608 int errsock = -1; in doit() local 663 errsock = rresvport (&priv_port); in doit() 665 errsock = socket (erraddr->sa_family, SOCK_STREAM, 0); in doit() 666 if (errsock < 0) in doit() 668 if (connect (errsock, in doit() 672 close (errsock); in doit() 777 if (errsock >= 0) { in doit() 778 if (dup2 (errsock, STDERR_FILENO) < 0) in doit() 780 close (errsock); in doit() 808 setup_copier (errsock >= 0); in doit()
|
H A D | ChangeLog | 92 * rshd.c: pass errsock status to init_ivecs 96 * rsh.c (loop): pass errsock status to init_ivecs 98 * common.c (init_ivecs): if we don't have an errsock the ivecs 101 * rshd.c: if we don't have an errsock, dup stdout to stderr (this 139 * rsh.c (loop): only check errsock if it's valid
|
/freebsd/lib/libfetch/ |
H A D | ftp.c | 1129 goto errsock; in ftp_request() 1135 goto errsock; in ftp_request() 1151 errsock: in ftp_request()
|