Commit a95fd3f8 authored by Ben Lindstrom's avatar Ben Lindstrom

- (bal) added back in error check for mmap(). I screwed up, Pointed

   out by stevesk@
parent 2b3897c3
......@@ -27,6 +27,8 @@
lightweight do_setusercontext after chroot()
- (bal) Updated AIX package build. Patch by dtucker@zip.com.au
- (tim) [Makefile.in] fix test on installing ssh-rand-helper.8
- (bal) added back in error check for mmap(). I screwed up, Pointed
out by stevesk@
20020625
- (stevesk) [INSTALL acconfig.h configure.ac defines.h] remove --with-rsh
......@@ -1126,4 +1128,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2283 2002/06/25 23:45:42 tim Exp $
$Id: ChangeLog,v 1.2284 2002/06/26 00:22:57 mouring Exp $
......@@ -87,6 +87,8 @@ mm_create(struct mm_master *mmalloc, size_t size)
#ifdef HAVE_MMAP_ANON_SHARED
address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED,
-1, 0);
if (address == MAP_FAILED)
fatal("mmap(%lu): %s", (u_long)size, strerror(errno));
#else
fatal("%s: UsePrivilegeSeparation=yes and Compression=yes not supported",
__func__);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment