Patches for Cray T3Es running Unicossmk and SV1s running Unicos

William L. Jones jones at mail.utexas.edu
Mon Jul 23 02:47:21 EST 2001


This patch is against Cray patch against openssh-SNAP-20010710.  Here
a few notes about them:

1) rijndael does not work on cray due to the fact it is rooted in 32 bits.
   I looking for a fix, it may come form Wendy Palam.  For now the cray
   default to the following cihpers for ssh version 2 ssh are:
        3des-cbc,blowfish-cbc,cast128-cbc,arcfour

2) Crays don't have setitimer so I changed scp.c to use alarm which
   should work on all systems.

3) Created bsd-cray.c in openbsd-compat.  This mainly supports cray TMPDIR
   environment variable, jid, and setting job and process limits form cray's
   udb.  I could have put them in seesion.c but I think session.c is getting
   to loaded with speicalied system codes.  The same is true for pty.c.
   Maby it time to split out the code int seperate system modules in
   the openbsd-compat directiry.

4) Fixed a few minor issues with resetting SIGCHLD.  If you  permanently
install
   a signal with mysingnal for SIGCHLD you don't need to reset it in the
   sigchld handler.  You can get into a infinite signal loop if the sigchld
   handler does not reap the child win it is called if it reset the sigchld
   handler, it is a cray thing.

5) It is possible to get an EINTR on a waitpid call on a cray, it has to do
   with the job termination signal.  Loop on waitpid if errno is EINTR in
   serverloop.c

6) Cray gets pty differently so getpty.c has a few more levels of ifdef's,
   sigh.

7) Add some more cray specific prng commands. Needed more entropy!

Let me know if you have any questions or need any changes to this set
of patches.

This is the third posting. I think the others went into the bit bucket
do to a domain change.

William L Jones
-------------- next part --------------
A non-text attachment was scrubbed...
Name: craypatch
Type: application/octet-stream
Size: 20377 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010722/d27d7870/attachment.obj 


More information about the openssh-unix-dev mailing list