Bug 205 - PrivSep needs to be a compile-time option
Summary: PrivSep needs to be a compile-time option
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: Other Other
: P1 critical
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-06 09:31 AEST by wendy palm
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
allow non-mmap platforms to compile (837 bytes, patch)
2002-04-07 10:28 AEST, Ben Lindstrom
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wendy palm 2002-04-06 09:31:32 AEST
Crays do not have mmap and do not support shared memory.
I cannot build the current snapshot .

Please make the PrivSep stuff compile-time configurable.
Comment 1 Ben Lindstrom 2002-04-07 10:28:27 AEST
Created attachment 64 [details]
allow non-mmap platforms to compile
Comment 2 wendy palm 2002-04-10 07:09:56 AEST
add an ifdef around the include, and all is fine with the crays.

thanks much!

--- monitor_mm.c.orig   Fri Apr  5 16:28:59 2002
+++ monitor_mm.c        Tue Apr  9 15:58:08 2002
@@ -26,7 +26,9 @@
 #include "includes.h"
 RCSID("$OpenBSD: monitor_mm.c,v 1.4 2002/03/25 20:12:10 stevesk Exp $");
 
+#ifdef HAVE_MMAP
 #include <sys/mman.h>
+#endif
Comment 3 wendy palm 2002-04-23 08:34:21 AEST
this seems to be working quite well.  i'm happy with the changes.
Comment 4 Damien Miller 2002-04-26 11:10:19 AEST
Is -current compiling OK? Can we close this bug?
Comment 5 wendy palm 2002-04-27 01:47:24 AEST
the last download i did was 23 april, and as of that date, it was
compiling just fine (as i noted on that day).

as far as Crays are concerned, go ahead and close it.
Comment 6 Tim Rice 2002-04-28 02:04:40 AEST
Wendy says close it.
Comment 7 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED