]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (bal) disable privsep if no MAP_ANON. We can re-enable it PRE_SW_KRBV
authorBen Lindstrom <mouring@eviladmin.org>
Fri, 12 Apr 2002 18:51:22 +0000 (18:51 +0000)
committerBen Lindstrom <mouring@eviladmin.org>
Fri, 12 Apr 2002 18:51:22 +0000 (18:51 +0000)
   after the release when we can do more testing.

ChangeLog
monitor_mm.c

index 327e9141ab0008d512f43aebbc100171e0dbdcd6..a6d20ed1acf9b5543735ee3d1323bca6181c2a72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,8 @@
    to -h on testing for /bin being symbolic link
  - (bal) Mistaken in Cygwin scripts for ssh starting.  Patch by
    Corinna Vinschen <vinschen@redhat.com> 
+ - (bal) disable privsep if no MAP_ANON.  We can re-enable it
+   after the release when we can do more testing.
 
 20020411
  - (stevesk) [auth-sia.c] cleanup
  - Wrote replacements for strlcpy and mkdtemp
  - Released 1.0pre1
 
-$Id: ChangeLog,v 1.2049 2002/04/12 17:44:13 mouring Exp $
+$Id: ChangeLog,v 1.2050 2002/04/12 18:51:22 mouring Exp $
index 3231c8786505faa1079bbc7188b863254744327e..993925e482e2affb94e01ba1857cff93e8d4c3d1 100644 (file)
@@ -84,7 +84,7 @@ mm_create(struct mm_master *mmalloc, size_t size)
         */
        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)