Help wanted: configure test for busted mmap

Ben Lindstrom mouring at etoh.eviladmin.org
Tue Jun 25 11:03:13 EST 2002


Rejected already.. SysV Shm not an acceptable solution.

Plus too complex to verify in less than a week.

- Ben

On Mon, 24 Jun 2002, Nalin Dahyabhai wrote:

> On Tue, Jun 25, 2002 at 10:58:09AM +1000, Damien Miller wrote:
> > Linux 2.2 (and probably others) have a deficient mmap which has caused a
> > number of problems (e.g. bug #285).
> >
> > A workaround is in development, but it would be helpful to have a
> > configure test to detect the bad mmaps().
> >
> > Any takers?
>
> It'd probably be better to try to work around it if the mmap() call
> fails at run-time.  That'd be the easiest thing for us, anyway, as we
> can't guarantee that an sshd built on a 2.4 kernel will always be run
> under a 2.4 kernel.
>
> I'm attaching a patch extracted from Owl's package [1] that you might
> have seen before that attempts to do this.
>
> Nalin
>
> [1] ftp://ftp.ru.openwall.com/pub/Owl/current/native.tar.gz, in
>     native/Owl/packages/openssh/
>




More information about the openssh-unix-dev mailing list