summaryrefslogtreecommitdiff
path: root/servconf.c
diff options
context:
space:
mode:
authortim <tim>2002-07-14 20:36:49 +0000
committertim <tim>2002-07-14 20:36:49 +0000
commitc11a7630fdb56e5a29f0c736e83fe565459d7613 (patch)
treec758ad2d46d24afe4610dd2e2482e1cb3cc56c8e /servconf.c
parent00edea117dd27902c4977ef30071267cefe4e9d0 (diff)
downloadopenssh-c11a7630fdb56e5a29f0c736e83fe565459d7613.tar.gz
(bal/tim) [acconfig.h configure.ac monitor_mm.c servconf.c
openbsd-compat/Makefile.in] support compression on platforms that have no/broken MAP_ANON. Moved code to openbsd-compat/xmmap.c Based on patch from nalin@redhat.com of code extracted from Owl's package
Diffstat (limited to 'servconf.c')
-rw-r--r--servconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/servconf.c b/servconf.c
index f311ae48..bdf39afb 100644
--- a/servconf.c
+++ b/servconf.c
@@ -257,7 +257,7 @@ fill_default_server_options(ServerOptions *options)
if (use_privsep == -1)
use_privsep = 1;
-#if !defined(HAVE_MMAP_ANON_SHARED)
+#ifndef HAVE_MMAP
if (use_privsep && options->compression == 1) {
error("This platform does not support both privilege "
"separation and compression");