Mike O'Connor
2003-Sep-17 02:45 UTC
Use the OpenSSH 3.6 uidswap.c for building 3.7 under IRIX
[resending with uidswap.c instead of uidwrap.c] Once I got past the missing inet_ntoa.h weirdness, I ran into an sshd that died a lot. It appears that IRIX doesn't like some of the extra checks added between 1.23 and 1.24 of uidswap.c. Not sure if that constitutes an IRIX bug or not, but helpfully this helps someone. -- Mail: mjo at dojo.mi.org WWW: http://dojo.mi.org/~mjo/ Phone: +1 248 427 4481 =--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--"Never never never never never never NEVER trust a tiger." -Calvin
Albert Chin
2003-Sep-17 12:22 UTC
Use the OpenSSH 3.6 uidswap.c for building 3.7 under IRIX
On Tue, Sep 16, 2003 at 10:45:02PM -0400, Mike O'Connor wrote:> [resending with uidswap.c instead of uidwrap.c] > > > Once I got past the missing inet_ntoa.h weirdness, I ran into an sshd > that died a lot. It appears that IRIX doesn't like some of the extra > checks added between 1.23 and 1.24 of uidswap.c. Not sure if that > constitutes an IRIX bug or not, but helpfully this helps someone.It works if I define BROKEN_GETADDRINFO, SETEUID_BREAKS_SETUID, BROKEN_SETREUID, and BROKEN_SETREGID. -- albert chin (china at thewrittenword.com)
Mike O'Connor
2003-Sep-17 12:46 UTC
Use the OpenSSH 3.6 uidswap.c for building 3.7 under IRIX
:It works if I define BROKEN_GETADDRINFO, SETEUID_BREAKS_SETUID, :BROKEN_SETREUID, and BROKEN_SETREGID. FWIW, the broken getaddrinfo() should only be needed for pre-6.5.20. -- Mail: mjo at dojo.mi.org WWW: http://dojo.mi.org/~mjo/ Phone: +1 248 427 4481 =--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--"What kind of world is this?! You only get five years to be a kid??" -Calvin
Mike O'Connor
2003-Sep-17 15:34 UTC
Use the OpenSSH 3.6 uidswap.c for building 3.7 under IRIX
: :On Wed, Sep 17, 2003 at 08:46:05AM -0400, Mike O'Connor wrote: :> :It works if I define BROKEN_GETADDRINFO, SETEUID_BREAKS_SETUID, :> :BROKEN_SETREUID, and BROKEN_SETREGID. :> :> FWIW, the broken getaddrinfo() should only be needed for pre-6.5.20. : :Doesn't seem needed on 6.5.17m, it even broke if I defined it. That's because getaddrinfo() didn't exist prior to 6.5.18 -- was introduced as a logical prelude to the IPv6 support in 6.5.19. :) :Building with MIPSPro and SETEUID_BREAKS_SETUID, BROKEN_SETREUID, :BROKEN_SETREGID and removed inet_ntoa.h seems to work for me. : :Hope an "official" fix soon will emerge.. : : : -jf : -- Mail: mjo at dojo.mi.org WWW: http://dojo.mi.org/~mjo/ Phone: +1 248 427 4481 =--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--"Don't improve the product, just find dumber customers!" -Bob the Dinosaur