Displaying 3 results from an estimated 3 matches for "_mm_h_".
Did you mean:
_mm_
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.
2003 Oct 28
2
Privilege separation
...e_fd(int);
+#endif /* DISABLE_PRIVSEP */
#endif /* _MM_FDPASS_H_ */
diff -adurN openssh-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 /* _M...
2006 Jan 08
3
Allow --without-privsep build.
...0
+#define PRIVSEP(x) (x)
+#else
extern int use_privsep;
#define PRIVSEP(x) (use_privsep ? mm_##x : x)
@@ -111,4 +116,6 @@ void *mm_zalloc(struct mm_master *, u_in
void mm_zfree(struct mm_master *, void *);
void mm_init_compression(struct mm_master *);
+#endif /* USE_PRIVSEP */
+
#endif /* _MM_H_ */
--- openssh-4.2p1/servconf.c~ 2005-08-12 13:11:37.000000000 +0100
+++ openssh-4.2p1/servconf.c 2006-01-07 18:13:42.000000000 +0000
@@ -102,8 +102,10 @@ initialize_server_options(ServerOptions
options->authorized_keys_file2 = NULL;
options->num_accept_env = 0;
+#ifdef USE_PRIVSEP
/...