Displaying 3 results from an estimated 3 matches for "mm_share".
2002 Mar 20
1
privsep
i think our strategy for privsep is to just keep portable sync'd closely
with openbsd's tree, even though things will be broken wrt privsep for
many platforms. then we just get primary one's working and work out
issues as we go along. i'll start to work on sun and hp-ux again
tomorrow.
2006 Jan 08
3
Allow --without-privsep build.
.../monitor_mm.c~ 2004-10-06 14:15:44.000000000 +0100
+++ openssh-4.2p1/monitor_mm.c 2006-01-07 18:39:36.000000000 +0000
@@ -35,6 +35,8 @@ RCSID("$OpenBSD: monitor_mm.c,v 1.9 2004
#include "log.h"
#include "monitor_mm.h"
+#ifdef USE_PRIVSEP
+
static int
mm_compare(struct mm_share *a, struct mm_share *b)
{
@@ -343,3 +345,5 @@ mm_memvalid(struct mm_master *mm, void *
if (end > (void *)((u_char *)mm->address + mm->size))
fatal("mm_memvalid: address too large: %p", address);
}
+
+#endif
--- openssh-4.2p1/monitor_wrap.c~ 2005-07-17 08:53:31.000000000 +0...
2003 Oct 28
2
Privilege separation
...-3.7.1p2.privsep/monitor_mm.h openssh-3.7.1p2/monitor_mm.h
--- openssh-3.7.1p2.privsep/monitor_mm.h Thu Sep 12 04:43:31 2002
+++ openssh-3.7.1p2/monitor_mm.h Sat Oct 4 22:45:11 2003
@@ -29,6 +29,7 @@
#define _MM_H_
#include "openbsd-compat/sys-tree.h"
+#ifndef DISABLE_PRIVSEP
struct mm_share {
RB_ENTRY(mm_share) next;
void *address;
@@ -63,4 +64,5 @@
void mm_free(struct mm_master *, void *);
void mm_memvalid(struct mm_master *, void *, size_t);
+#endif /* DISABLE_PRIVSEP */
#endif /* _MM_H_ */
diff -adurN openssh-3.7.1p2.privsep/monitor_wrap.h openssh-3.7.1p2/monitor_wrap.h
--...