summaryrefslogtreecommitdiff
path: root/servconf.c
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2002-07-14 13:36:49 -0700
committerTim Rice <tim@multitalents.net>2002-07-14 13:36:49 -0700
commit40017b0e7aa236ca1144563dea986a95684f1599 (patch)
treeaa62ff2bf0033c2c833724036d732f7ecdd287a8 /servconf.c
parent952101952f204e5a85698a01469612d6518fc99a (diff)
downloadopenssh-git-40017b0e7aa236ca1144563dea986a95684f1599.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");