Displaying 2 results from an estimated 2 matches for "mm_memsize".
Did you mean:
min_memsize
2011 Jun 02
2
preauth privsep logging via monitor
...mon->m_log_sendfd = -1;
#else
- fatal("%s: UsePrivilegeSeparation=yes not supported",
- __func__);
-#endif
- FD_CLOSEONEXEC(pair[0]);
- FD_CLOSEONEXEC(pair[1]);
+ fatal("%s: UsePrivilegeSeparation=yes not supported", __func__);
+#endif /* HAVE_SOCKETPAIR */
}
#define MM_MEMSIZE 65536
@@ -1870,14 +1972,10 @@ struct monitor *
monitor_init(void)
{
struct monitor *mon;
- int pair[2];
mon = xcalloc(1, sizeof(*mon));
- monitor_socketpair(pair);
-
- mon->m_recvfd = pair[0];
- mon->m_sendfd = pair[1];
+ monitor_openfds(mon, 1);
/* Used to share zlib space acro...
2003 Oct 08
4
OS/390 openssh
...ild_state.ilen);
- child_state.output = buffer_get_string(&m, &child_state.olen);
+ child_state.input = buffer_get_binary(&m, &child_state.ilen);
+ child_state.output = buffer_get_binary(&m, &child_state.olen);
buffer_free(&m);
}
@@ -1699,6 +1699,10 @@
}
#define MM_MEMSIZE 65536
+#if #system(bs2000)
+#undef MM_MEMSIZE
+#define MM_MEMSIZE 16384 /* 16 kB */
+#endif
struct monitor *
monitor_init(void)
diff -bur openssh-3.7.1p2.orig/monitor_wrap.c openssh-3.7.1p2/monitor_wrap.c
--- openssh-3.7.1p2.orig/monitor_wrap.c Tue Sep 2 14:51:17 2003
+++ openssh-3.7.1p2/...