diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-04-12 20:51:22 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-04-12 20:51:22 +0200 |
commit | 927dfd2d7eb8801e444a3bcff7fdf7a628a779f0 (patch) | |
tree | f2449241f8a828ffb701a0525e88a8315c53a6e2 /monitor_mm.c | |
parent | - (bal) Mistaken in Cygwin scripts for ssh starting. Patch by (diff) | |
download | openssh-927dfd2d7eb8801e444a3bcff7fdf7a628a779f0.tar.xz openssh-927dfd2d7eb8801e444a3bcff7fdf7a628a779f0.zip |
- (bal) disable privsep if no MAP_ANON. We can re-enable itPRE_SW_KRBV
after the release when we can do more testing.
Diffstat (limited to 'monitor_mm.c')
-rw-r--r-- | monitor_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_mm.c b/monitor_mm.c index 3231c8786..993925e48 100644 --- a/monitor_mm.c +++ b/monitor_mm.c @@ -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) |