Bug 96 - bsd-cray.h modifications to allow correct UNICOS execution
Summary: bsd-cray.h modifications to allow correct UNICOS execution
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: -current
Hardware: Other Other
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-05 04:47 AEDT by wendy palm
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wendy palm 2002-02-05 04:47:30 AEDT
--- openbsd-compat/bsd-cray.h.orig      Tue Aug 14 15:31:49 2001
+++ openbsd-compat/bsd-cray.h   Wed Jan  9 15:57:56 2002
@@ -4,8 +4,13 @@
 #ifdef _CRAY
 void   cray_init_job(struct passwd *);         /* init cray job */
 void   cray_job_termination_handler(int);      /* process end of job signal */
-void   cray_setup(uid_t, char *);              /* set cray limits */
 extern char   cray_tmpdir[];                   /* cray tmpdir */
+#ifndef IA_SSHD
+#define IA_SSHD IA_LOGIN
+#endif
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN  64
+#endif
 #endif
Comment 1 Kevin Steves 2002-04-05 19:23:18 AEST
the cray support is incomplete now, is that correct?
if so, what is needed to complete it?
Comment 2 wendy palm 2002-04-06 06:52:24 AEST
yes, cray support is still lacking.  not much has been done with the patches
i submitted 
(96, bsd-cray.h, 97 deattack.c, 98 auth1.c, 99 auth2.c, 100 serverloop.c, 101
session.c, 103 bsd-cray.c)
markus commented on 100, and that particular line is now moot, but the other
mod is still needed.
no one has commented on any of the others, nor have they been implemented.

i have updated the patches to the current snapshot & would be happy to provide
them if anyone will look at them.
Comment 3 wendy palm 2002-04-23 08:28:09 AEST
patch is still required as of apr 22 snapshot.
--- bsd-cray.h.orig     Tue Aug 14 15:31:49 2001
+++ bsd-cray.h  Mon Apr 22 17:15:16 2002
@@ -4,8 +4,13 @@
 #ifdef _CRAY
 void   cray_init_job(struct passwd *);         /* init cray job */
 void   cray_job_termination_handler(int);      /* process end of job signal */
-void   cray_setup(uid_t, char *);              /* set cray limits */
-extern char   cray_tmpdir[];                   /* cray tmpdir */
+char cray_tmpdir[TPATHSIZ+1];                   /* cray tmpdir */
+#ifndef IA_SSHD
+#define IA_SSHD IA_LOGIN
+#endif
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN  64
+#endif
 #endif
 
 #endif /* _BSD_CRAY_H */
Comment 4 wendy palm 2002-07-23 08:40:27 AEST
superceeded by 367.
Comment 5 Damien Miller 2004-04-14 12:24:17 AEST
Mass change of RESOLVED bugs to CLOSED