Merge "init.rc: mix device-specific data into the Linux RNG" am: e04b60d2b9
am: 9deaf7c8a6
* commit '9deaf7c8a6eca900e1e50cccc1aeef17d04d70e2':
init.rc: mix device-specific data into the Linux RNG
diff --git a/rootdir/init.rc b/rootdir/init.rc
index a839729..b844c66 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -28,6 +28,10 @@
on init
sysclktz 0
+ # Mix device-specific information into the entropy pool
+ copy /proc/cmdline /dev/urandom
+ copy /default.prop /dev/urandom
+
# Backward compatibility.
symlink /system/etc /etc
symlink /sys/kernel/debug /d