PLEASE TEST snapshots

Mark D. Baushke mdb at juniper.net
Sat Apr 13 04:25:42 EST 2002


Yes, the patch fixes my Solaris 2.6 problem.

	Thanks,
	-- Mark

> Date: Fri, 12 Apr 2002 12:46:25 -0500 (CDT)
> From: Ben Lindstrom <mouring at etoh.eviladmin.org>
> 
> Does the following patch fix it?  We are not looking to do yet another
> compile option.  Just disable the feature for those platform which we
> can't easily fix for this release.  Then work out the problems post-3.2
> 
> - Ben
> 
> Index: monitor_mm.c
> ===================================================================
> RCS file: /var/cvs/openssh/monitor_mm.c,v
> retrieving revision 1.6
> diff -u -r1.6 monitor_mm.c
> --- monitor_mm.c	7 Apr 2002 22:36:50 -0000	1.6
> +++ monitor_mm.c	12 Apr 2002 17:53:12 -0000
> @@ -84,7 +84,7 @@
>  	 */
>  	mm->mmalloc = mmalloc;
> 
> -#ifdef HAVE_MMAP
> +#if  defined(HAVE_MMAP) && defined(MAP_ANON)
>  	address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED,
>  	    -1, 0);
>  	if (address == MAP_FAILED)




More information about the openssh-unix-dev mailing list