diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-04-12 18:51:22 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-04-12 18:51:22 +0000 |
commit | 927dfd2d7eb8801e444a3bcff7fdf7a628a779f0 (patch) | |
tree | f2449241f8a828ffb701a0525e88a8315c53a6e2 /monitor_mm.c | |
parent | c42f7cfd164509bca95ffd26c458f1b4b33d931d (diff) | |
download | openssh-git-927dfd2d7eb8801e444a3bcff7fdf7a628a779f0.tar.gz |
- (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 3231c878..993925e4 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) |