Date: Sun, 30 Jun 2002 10:00:02 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Darren Pilgrim <dmp@pantherdragon.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Why does PrivSep+Compression work in openssh 3.3p1, but not 3.4p1? Message-ID: <20020630090002.GA39130@happy-idiot-talk.infracaninophi> In-Reply-To: <3D1E62DC.F7EA30FF@pantherdragon.org> References: <3D1E62DC.F7EA30FF@pantherdragon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 29, 2002 at 06:46:04PM -0700, Darren Pilgrim wrote: > When I upgraded openssh to v3.3p1 using the openssh-portable port, I > was able to use PrivelegeSeperation and Compression together without > problems (verified by negotiating zlib compression, logging in, and > using ps to see the chrooted subdaemon). But when I upgraded to > v3.4p1, I could no longer use them together. Does anyone know the > reason for this loss of functionality? There was a flaw in the configure script for OpenSSH portable that caused it to fail to detect that FreeBSD had perfectly competent support for the mmap(2) call. You need this patch: --- configure.old Wed Jun 26 22:57:33 2002 +++ configure Wed Jun 26 22:53:31 2002 @@ -6541,6 +6541,7 @@ #include "confdefs.h" #include <stdio.h> +#include <sys/types.h> #include <sys/mman.h> #if !defined(MAP_ANON) && defined(MAP_ANONYMOUS) #define MAP_ANON MAP_ANONYMOUS or just recvsup your ports tree and update to openssh-portable-3.4p1_1 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020630090002.GA39130>