From 8a57f7e2458e36231ceaf905f7d704bffc3c4358 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 23 Apr 2002 00:05:48 +0000 Subject: [PATCH] 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 --- etc/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index 422e5231df7b..c5e7d53cd26f 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