Do not use 'ps -e' for entropy gathering. It uses /proc/*/mem to rummage

around *user* memory to extract the environment variable strings.  This
is problematic for us.

Submitted by:	peter
This commit is contained in:
David E. O'Brien 2002-04-23 00:05:48 +00:00
parent f0baf66556
commit 8a57f7e245

2
etc/rc
View File

@ -175,7 +175,7 @@ esac
# harvesting rate up
# Entropy below is not great,
# but better than nothing.
( ps -efauxww; sysctl -a; date; df -ib; dmesg; ps -efauxww; ) \
( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww; ) \
| dd of=/dev/random bs=8k 2>/dev/null
cat /bin/ls | dd of=/dev/random bs=8k 2>/dev/null