Date: Thu, 27 Jun 2002 01:08:50 -0500 (CDT) From: Mike Silbersack <silby@silby.com> To: Koga Youichirou <y-koga@jp.FreeBSD.org> Cc: freebsd-security@FreeBSD.ORG Subject: Re: new sshd 3.4p1 Message-ID: <20020627010828.Y66277-100000@patrocles.silby.com> In-Reply-To: <20020627.144542.104107070.y-koga@jp.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <alexus@alexus.org>: > > 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 <stdio.h> > #include <sys/mman.h> > #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 <stdio.h> > +#include <sys/types.h> > #include <sys/mman.h> > #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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020627010828.Y66277-100000>