From owner-freebsd-security Wed Jun 26 23: 6:58 2002 Delivered-To: freebsd-security@freebsd.org Received: from patrocles.silby.com (d185.as9.nwbl0.wi.voyager.net [169.207.133.251]) by hub.freebsd.org (Postfix) with ESMTP id F0B0237B4C7 for ; Wed, 26 Jun 2002 23:06:28 -0700 (PDT) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.4/8.12.4) with ESMTP id g5R68tcv066627; Thu, 27 Jun 2002 01:08:55 -0500 (CDT) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.4/8.12.4/Submit) with ESMTP id g5R68oEf066624; Thu, 27 Jun 2002 01:08:53 -0500 (CDT) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Thu, 27 Jun 2002 01:08:50 -0500 (CDT) From: Mike Silbersack To: Koga Youichirou Cc: freebsd-security@FreeBSD.ORG Subject: Re: new sshd 3.4p1 In-Reply-To: <20020627.144542.104107070.y-koga@jp.FreeBSD.org> Message-ID: <20020627010828.Y66277-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Could you contact the openssh-portable maintainers and have them add your patch? Thanks, Mike "Silby" Silbersack On Thu, 27 Jun 2002, Koga Youichirou wrote: > "alexus" : > > any ideas why am i geting this ? > > There occurs a syntax error in sys/mman.h while checking for mmap anon > shared. > > configure:6532: checking for mmap anon shared > configure:6557: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wno-uninitialized > conftest.c -lutil -lz >&5 > In file included from configure:6543: > /usr/include/sys/mman.h:141: syntax error before `mode_t' > configure:6547: warning: return-type defaults to `int' > configure:6560: $? = 1 > configure: program exited with status 1 > configure: failed program was: > #line 6540 "configure" > #include "confdefs.h" > > #include > #include > #if !defined(MAP_ANON) && defined(MAP_ANONYMOUS) > #define MAP_ANON MAP_ANONYMOUS > #endif > main() { char *p; > p = (char *) mmap(NULL, 10, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, -1, 0); > if (p == (char *)-1) > exit(1); > exit(0); > } > > configure:6580: result: no > > > Following is ad hoc patch for this problem: > > --- configure.ORG Wed Jun 26 23:08:18 2002 > +++ configure Thu Jun 27 14:38:39 2002 > @@ -6541,6 +6541,7 @@ > #include "confdefs.h" > > #include > +#include > #include > #if !defined(MAP_ANON) && defined(MAP_ANONYMOUS) > #define MAP_ANON MAP_ANONYMOUS > > -- Koga, Youichirou > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message