sshd 3.9p1 under Reliant Unix 5.45: getpeername: Operation not supported on transport endpoint

Robert Dahlem Robert.Dahlem at gmx.net
Sat Aug 28 17:34:28 EST 2004


On Sat, 28 Aug 2004 11:11:16 +1000, Damien Miller wrote:

>> 	sock_in = sock_out = fcntl(STDIN_FILENO, F_DUPFD, 0);

>It looks like your dup() is indeed broken. It should be too hard to have
>a replacement function (or #define) to transparently cope with this.

>What is your platform type, as reported after "Host: " at the end of a
>configure run?

Host: mips-sni-sysv4

Would you accept a patch like

	#define dup(fd) fcntl(fd, F_DUPFD, 0)

for this platform?

Regards,
        Robert






More information about the openssh-unix-dev mailing list