summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-23 00:05:48 +0000
committerobrien <obrien@FreeBSD.org>2002-04-23 00:05:48 +0000
commitc141c42f1c29ac0cccbf419c008c2829aaed2bdf (patch)
treeca643302ccb520f7ec5c77ff76f176db37db0dd0 /etc
parent3221843018420856d43b612319c6236f91198471 (diff)
downloadFreeBSD-src-c141c42f1c29ac0cccbf419c008c2829aaed2bdf.zip
FreeBSD-src-c141c42f1c29ac0cccbf419c008c2829aaed2bdf.tar.gz
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
Diffstat (limited to 'etc')
-rw-r--r--etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 422e523..c5e7d53 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud