Displaying 4 results from an estimated 4 matches for "have_mmap_anon_shared".
2002 Jun 26
0
IRIX 6.5 patch for Compression with UsePrivilegeSeparation
...; Hudson, MA 01749 781.839.2157, fax ...2357
-------------- next part --------------
--- ./config.h.in Wed Jun 26 10:08:19 2002
+++ ../openssh-3.4p1/./config.h.in Wed Jun 26 17:46:01 2002
@@ -358,6 +358,9 @@
/* Define if you have the `mmap' function that supports MAP_ANON|SHARED */
#undef HAVE_MMAP_ANON_SHARED
+/* Define if mmap of /dev/zero gives an anonymous memory region. */
+#undef HAVE_MMAP_DEV_ZERO
+
/* Define if sendmsg()/recvmsg() has problems passing file descriptors */
#undef BROKEN_FD_PASSING
--- ./servconf.c Mon Jun 24 23:22:04 2002
+++ ../openssh-3.4p1/./servconf.c Wed Jun 26 17:54:55...
2002 Jun 25
2
Linux 2.2 + borken mmap() round 1
...acconfig.h
--- acconfig.h 24 Jun 2002 16:26:49 -0000 1.139
+++ acconfig.h 25 Jun 2002 00:15:54 -0000
@@ -355,6 +355,9 @@
/* Path that unprivileged child will chroot() to in privep mode */
#undef PRIVSEP_PATH
+/* Define if you have the `mmap' function that supports MAP_ANON|SHARED */
+#undef HAVE_MMAP_ANON_SHARED
+
@BOTTOM@
/* ******************* Shouldn't need to edit below this line ************** */
Index: configure.ac
===================================================================
RCS file: /var/cvs/openssh/configure.ac,v
retrieving revision 1.69
diff -u -r1.69 configure.ac
--- configure.ac 2...
2002 Jul 27
1
Patch to OpenSSH-3.4p1/monitor_mm.c for Linux 2.0
...h---if there's a better name for it, please, by all
means, change it.
Thanks for your time and consideration.
Sean
--- openssh-3.4p1/monitor_mm.c Tue Jun 25 20:29:03 2002
+++ openssh-3.4p1.new/monitor_mm.c Fri Jul 26 03:00:35 2002
@@ -85,10 +85,24 @@
mm->mmalloc = mmalloc;
#ifdef HAVE_MMAP_ANON_SHARED
+# ifdef USE_MMAP_DEV_ZERO
+ {
+ int fh;
+
+ fh = open("/dev/zero",O_RDWR);
+ if (fh == -1)
+ fatal("mmap(`/dev/zero'): %s",strerror(errno));
+
+ address = mmap(NULL,size,PROT_WRITE|PROT_READ,MAP_PRIVATE,fh,0);
+ if (address == MAP_FAILED)
+ fatal("mma...
2002 Jun 29
0
[Bug 321] New: configure does not work when cross compiling
...TH(skey,
@@ -505,6 +491,10 @@
[
AC_MSG_RESULT(no)
AC_MSG_ERROR([** Incomplete or missing s/key libraries.])
+
]
+
[
+
AC_MSG_RESULT(no)
+
AC_MSG_ERROR([** Incomplete or missing s/key libraries.])
])
fi
]
@@ -597,6 +587,7 @@
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_MMAP_ANON_SHARED)
],
+
[ AC_MSG_RESULT(no) ],
[ AC_MSG_RESULT(no) ]
)
fi
@@ -626,6 +617,7 @@
}
],
[ ac_cv_have_broken_dirname="no" ],
+
[ ac_cv_have_broken_dirname="yes" ],
[ ac_cv_have_broken_dirname="yes" ]
)
LIBS="$save_LIBS"
@@ -670,6 +66...