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

Darren Tucker dtucker at zip.com.au
Sun Aug 29 15:53:25 EST 2004


Robert Dahlem wrote:
> On Sat, 28 Aug 2004 11:11:16 +1000, Damien Miller wrote:
>>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.
[...]
> Host: mips-sni-sysv4
> 
> Would you accept a patch like
> 
> 	#define dup(fd) fcntl(fd, F_DUPFD, 0)
> 
> for this platform?

I think that would be OK.  Does the attached patch work?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openssh-dup-fcntl.patch
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20040829/1dad8309/attachment.ksh 


More information about the openssh-unix-dev mailing list