Problems/patches for BSD/OS 4.0.1

Damien Miller djm at mindrot.org
Sat Sep 16 15:36:49 EST 2000


On Mon, 11 Sep 2000, Larry Jones wrote:

> Two small problems with 2.2.0p1 on BSD/OS 4.0.1, both invoving the
> internal entropy collector:
> 
> 1) The ``ls'' commands in ssh_prng_cmds.in all use -n, which isn't valid
> on BSD/OS and thus caused them all to fail when fixprogs checked them. 
> BSD/OS does, however, have a -T flag which gives complete timestamp
> information (month, day, year, hour, minute, and second), which seems
> like a useful addition.  I suspect the configure script should be
> enhanced to deal with this, but I don't know enough about configure to
> suggest a patch.

I have just added commands similar to

"ls -alTi /var/log"			@PROG_LS@	0.02

to the prng commands list.

> 2) The fixprogs script doesn't reopen the child process's STDIN, STDOUT,
> and STDERR correctly.  This caused all of the ``tail'' commands in
> ssh_prng_cmds to fail because they couldn't write to stdout.  Here's a
> patch:

Applied. How does this help, the patch only adds parantheses?

-d

-- 
| ``The power of accurate observation is  | Damien Miller <djm at mindrot.org>
| commonly called cynicism by those who   | @Work <djm at ibs.com.au>
| have not got it'' - George Bernard Shaw | http://www.mindrot.org






More information about the openssh-unix-dev mailing list