sshd 3.7p1 dies on MacOSX

Andrew Mortensen admorten at umich.edu
Thu Sep 18 13:35:25 EST 2003


If you define BROKEN_SETREUID and BROKEN_SETREGID, the problem goes 
away. A short test program calling setreuid on OS X will fail with the 
same error you encountered with sshd.

andrew

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Wednesday, September 17, 2003, at 08:53  AM, Darren Tucker wrote:
>
> > Jacques Distler wrote:
> >>    % egrep 'SET.*ID' config.h
> >>    /* #undef SETEUID_BREAKS_SETUID */
> >>    /* #undef BROKEN_SETREUID */
> >>    /* #undef BROKEN_SETREGID */
> >>    #define HAVE_SETEGID 1
> >>    #define HAVE_SETEUID 1
> >>    /* #undef HAVE_SETLUID */
> >>    #define HAVE_SETREGID 1
> >>    /* #undef HAVE_SETRESGID */
> >>    /* #undef HAVE_SETRESUID */
> >>    #define HAVE_SETREUID 1
> >>    #define HAVE_SETSID 1
> >
> > With those defines, I'd expect the same behaviour as 3.6.1p2, and I'd
> > also
> > expect SETEUID_BREAKS_SETUID to resolve it.  I dunno.
>
>
> Well, thanks for trying. I've posted a note
> <http://golem.ph.utexas.edu/~distler/blog/archives/000221.html> on my
> weblog warning MacOSX users about this.
>
> Jacques
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (Darwin)
> Comment: PGP Key - http://golem.ph.utexas.edu/~distler/distler.asc
>
> iD8DBQE/aGyfnyqPIXpYcjcRApg2AKCgBG5e3J6NwdFAXcY8BrhpfwAD0wCglrf3
> XhN4mLfUH4UuXYnd1IzNjv4=
> =tnZH
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev




More information about the openssh-unix-dev mailing list